> zpool create newpool ....
> zfs snapshot -r oldp...@sendit
> zfs send -R oldp...@sendit | zfs recv -vFd newpool

   I think this is probably something like what I want, the problem is I'm not 
really "getting it" yet.  If you could explain just what is happening here in 
an example.  Let's say I have this setup;

oldpool = 10 x 500GB volumes, with two mounted filesystems; fs1 and fs2

I create newpool = 12 x 1TB volumes using new storage hardware.  newpool thus 
has a lot more capacity than oldpool, but not the same number of physical 
volumes or the same size volumes.

I want to replicate oldpool and thus oldpool/fs1 and oldpool/fs2 on newpool/fs1 
and newpool/fs2.  And I want to do this in a way that allows me to "switch 
over" from oldpool to newpool on a day that is scheduled with the customers and 
then take oldpool away.

So on Monday I take a snapshot of oldpool, like you say;

zfs snapshot -r oldp...@sendit

And I send/recv it to newpool;

zfs send -R oldp...@sendit | zfs recv -vFd newpool

At this point does all of that data, say 3TB or so, start copying over to the 
newpool?  How do I monitor the progress of the transfer?  Once that initial 
copy is done, on say Wednesday, how do I then do a final "sync" from oldpool to 
newpool to pick up any changes that occurred since the first snapshot on 
Monday.  I assume that for this final snapshot I would unmount the filesystems 
to prevent any changes by the customer.

   Sorry I'm being dense here, I think I sort of get it but I don't have the 
whole picture.

   Thomas Walker
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to