On Tue, Jan 12, 2010 at 02:38:56PM +1300, Ian Collins wrote:
> How did you set the subdevice in the off line state? 

# zpool offline rpool /dev/zvol/dsk/....

sorry if that wasn't clear.

> Did you detach the device from the mirror?

No, because then:
 - it will have to resilver fully on next attach, no quick update
 - it will be marked detached, and harder to import for recovery.  I'm
   not even sure it can be easily recovered, maybe with import -D?

If I do detach the subdevice, of course then the external pool can be
exported - but that's not helpful for the original goal.  If I
shutdown ungracefully, and boot without the external disk attached,
the expected components are faulted, but again that's not especially
desirable for normal operations.

Perhaps the new "zpool split" will be better for the second issue, 
but won't address the first issue.  One of the several reasons for
wanting to use a zvol (or file on zfs) is to be able to clone the
backing store for an "import -f" while keeping the original for
further incremental resilvers. 

--
Dan.

Attachment: pgph33v8yXkyr.pgp
Description: PGP signature

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to