What is the best (meaning fastest) way to move a large file system from one pool to another pool on the same machine. I have a machine with two pools. One pool currently has all my data (4 filesystems), but it's misconfigured. Another pool is configured correctly, and I want to move the file systems to the new pool. Should I use 'rsync' or 'zfs send'?
What happens is I forgot I couldn't incrementally add raid devices. I want to end up with two raidz(x4) vdevs in the same pool. Here's what I have now: B# zpool status pool: dbxpool state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM dbxpool ONLINE 0 0 0 raidz1 ONLINE 0 0 0 c1t4d0 ONLINE 0 0 0 c2t6d0 ONLINE 0 0 0 c2t1d0 ONLINE 0 0 0 c2t4d0 ONLINE 0 0 0 errors: No known data errors pool: dbxpool2 state: ONLINE scrub: resilver completed with 0 errors on Tue Jun 19 15:16:19 2007 config: NAME STATE READ WRITE CKSUM dbxpool2 ONLINE 0 0 0 raidz1 ONLINE 0 0 0 c1t2d0 ONLINE 0 0 0 c1t5d0 ONLINE 0 0 0 c2t5d0 ONLINE 0 0 0 c1t1d0 ONLINE 0 0 0 errors: No known data errors ------------------- 'dbxpool' has all my data today. Here are my steps: 1. move data to dbxpool2 2. remount using dbxpool2 3. destroy dbxpool1 4. create new proper raidz vdev inside dbxpool2 using devices from dbxpool1 Any advice? I'm constrained by trying to minimize the downtime for the group of people using this as their file server. So I ended up with an ad-hoc assignment of devices. I'm not worried about optimizing my controller traffic at the moment. This message posted from opensolaris.org _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss