Can anyone confirm my action plan is the proper way to do this?  The reason I'm 
doing this is I want to create 2xraidz2 pools instead of expanding my current 
2xraidz1 pool.  So I'll create a 1xraidz2 vdev, migrate my current 2xraidz1 
pool over, destroy that pool and then add it as a 1xraidz2 vdev to the new pool.

I'm running b130, sharing both with CIFS and ISCSI (not comstar), multiple 
decedent file systems.  Other than a couple VirtualBox machines that use the 
pool for storage (I'll shut them down), nothing on the server should be messing 
with the pool.  As I understand it the old way of doing iSCSI is going away so 
I should plan on Comstar.  I'm also thinking I should just unshare the CIFS to 
prevent any of my computers from writing to it.

So migrating from pool1 to pool2 
0. Turn off AutoSnapshots
1. Create snapshot -> zfs snapshot -r po...@snap1 
2. Send/Receive -> zfs send -R po...@snap1 | zfs receive -F -d test2
3. Unshare CIFS and remove iSCSI targets.  For the iSCSI targets, seems like I 
can't re-use them for Comstar and the reservations aren't carried over for 
block devices? I may just destroy them before hand.  Nothing important on them.
4. Create new snapshots -> zfs snapshot -r po...@snap2
5. Send incremental stream -> zfs send -Ri snap1 po...@snap2 | zfs receive -F 
-d test2
Repeat steps 4 and 5 as necessary.
6. Offline pool1... if I don't plan on destroying it right away.

Other than zfs list, is there anything I should check to make sure I received 
all the data to the new pool?
-- 
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