[zfs-discuss] Splitting root mirror to prep for re-install

2010-08-04 Thread Chris Josephes
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

Re: [zfs-discuss] Splitting root mirror to prep for re-install

2010-08-04 Thread Edward Ned Harvey
From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- boun...@opensolaris.org] On Behalf Of Chris Josephes 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

Re: [zfs-discuss] Splitting root mirror to prep for re-install

2010-08-04 Thread Mark Musante
You can also use the zpool split command and save yourself having to do the zfs send|zfs recv step - all the data will be preserved. zpool split rpool preserve does essentially everything up to and including the zpool export preserve commands you listed in your original email. Just don't try

Re: [zfs-discuss] Splitting root mirror to prep for re-install

2010-08-04 Thread Chris Josephes
So, after rebuilding, you don't want to restore the same OS that you're currently running. But there are some files you'd like to save for after you reinstall. Why not just copy them off somewhere, in a tarball or something like that? It's about 200+ gigs of files. If I had a third

Re: [zfs-discuss] Splitting root mirror to prep for re-install

2010-08-04 Thread Chris Josephes
You can also use the zpool split command and save yourself having to do the zfs send|zfs recv step - all the data will be preserved. zpool split rpool preserve does essentially everything up to and including the zpool export preserve commands you listed in your original email. Just don't