On April 11, 2007 11:54:38 AM +0200 Constantin Gonzalez Schmitz <[EMAIL PROTECTED]> wrote:
Hi Mark,

Mark J Musante wrote:
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.

thank you for the export/import idea, it does sound cleaner from a ZFS
perspective, but comes at the expense of temporarily unmounting the
filesystems.

So, instead of detaching, would unplugging, then detaching work?

I'm thinking something like this:

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

If we're talking about a 3rd device, added in order to migrate the data,
why not just zfs send | zfs recv?

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

Reply via email to