I split a mirror to reconfigure and recopy it. I detached one drive, reconfigured it ... all after unplugging the remaining pool drive during a shutdown to verify no accidents could happen. Later, I tried to import the original pool from the drive (now plugged back in), only to be greeted with FAULTED - label is missing or invalid. zdb -l shows all four labels on the disk... although it shows both original drives in it, which is odd. Is there any way to recover from this scenario? Various permutations of import -Ff does nothing. The data is all replaceable, but requires an annoying lengthy process to recreate. I''d like to regain my confidence in ZFS more than anything else. :) Thanks! -- This message posted from opensolaris.org
On 6/18/10 9:46 PM -0700 Cott Lang wrote:> I split a mirror to reconfigure and recopy it. I detached one drive, > reconfigured it ... all after unplugging the remaining pool drive during > a shutdown to verify no accidents could happen.By detach, do you mean that you ran ''zpool detach''?
> By detach, do you mean that you ran ''zpool detach''?Yes. -- This message posted from opensolaris.org
On 6/18/10 11:25 PM -0700 Cott Lang wrote:>> By detach, do you mean that you ran ''zpool detach''? > > Yes.''zpool detach'' clears the information from the disk that zfs needs to reimport the disk. If you have a late enough version of opensolaris you should instead run ''zpool split''. Otherwise, shut down as normal (ie, don''t tell zfs you are about to do anything different) and then just boot with the one disk, now in degraded state but otherwise ok. Like you, I learned this the hard way! -frank
> On 6/18/10 11:25 PM -0700 Cott Lang wrote: > > ''zpool detach'' clears the information from the disk > that zfs needs to > reimport the disk. If you have a late enough version > of opensolaris > you should instead run ''zpool split''. Otherwise, > shut down as normal > (ie, don''t tell zfs you are about to do anything > different) and then > just boot with the one disk, now in degraded state > but otherwise ok.Err... I''m with you, but I wasn''t trying to save the disk I detached, but the other one. :) Pool was just fine afterwards, including after a reboot. Then I unplugged the remaining pool disk to keep it safe while I reconfigured the detached disk ... -- This message posted from opensolaris.org