I have a host running svn_133 with a root mirror pool that I'd like to rebuild 
with a fresh install on new hardware; but I still have data on the pool that I 
would like to preserve.

Given a rpool with disks c7d0s0 and c6d0s0, I think the following process will 
do what I need:

1. Run these commands

# zpool detach rpool c6d0s0
# zpool create preserve c6d0s0
# zfs create export/home
# zfs send rpool/export/home | zfs receive preserve/home
# zfs send (other filesystems)
# zpool export preserve

2. Build out new host with svn_134, placing new root pool on c6d0s0 (or 
whatever it's called on the new SATA controller)

3. Run zpool import against "preserve", copy over data that should be migrated.

4. Rebuild the mirror by destroying the "preserve" pool and attaching c7d0s0 to 
the rpool mirror.


Am I missing anything?

--
Chris
-- 
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