On Tue, 10 Apr 2007, Constantin Gonzalez wrote:

> Has anybody tried it yet with a striped mirror? What if the pool is
> composed out of two mirrors? Can I attach devices to both mirrors, let
> them resilver, then detach them and import the pool from those?

You'd want to export them, not detach them.  Detaching will overwrite the
vdev labels and make it un-importable.

Off the top of my head (i.e. untested):

 - zpool create tank mirror <dev1> <dev2> <dev3>
 - zpool export tank
 - {physically move <dev3> to new box}
 - zpool import tank
 - zpool detach tank <dev3>

On the new box:
 - zpool import tank
 - zpool detach tank <dev1>
 - zpool detach tank <dev2>



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

Reply via email to