Hi, I thought that this question must have been answered already, but I have not found any explanations. I'm sorry in advance if this is redundant, but:
Why exactly doesn't ZFS let me detach a device from a degraded mirror? haggis:~# zpool status pool: rmirror state: DEGRADED status: One or more devices has experienced an unrecoverable error. An attempt was made to correct the error. Applications are unaffected. action: Determine if the device needs to be replaced, and clear the errors using 'zpool clear' or replace the device with 'zpool replace'. see: http://www.sun.com/msg/ZFS-8000-9P scrub: none requested config: NAME STATE READ WRITE CKSUM rmirror DEGRADED 0 0 0 c15t0d0s0 ONLINE 0 0 0 c16t0d0s0 DEGRADED 0 0 0 too many errors errors: No known data errors haggis:~# zpool detach rmirror c16t0d0s0 cannot detach c16t0d0s0: only applicable to mirror and replacing vdevs Background: My system was crashing twice during a zpool scrub, so I thought I should avoid a third scrubbing attemt and rather detach and re-attach the mirror to achieve a full re-sync. this is snv_93 Ref: http://docs.sun.com/app/docs/doc/817-2271/gcfhe?l=en&a=view&q=%22only+applicable+to+mirror+and+replacing+vdevs%22 This message posted from opensolaris.org _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss