Re: [zfs-discuss] moving zfs filesystems between disks

2008-02-27 Thread Jeff Bonwick
Oops -- I transposed 1 and 2 in the last sentence. Corrected version, and hopefully a bit easier to read: # zpool replace mypool olddisk newdisk This will do all the intermediate steps you'd expect: attach newdisk as a mirror of olddisk, resilver, detach olddisk, and grow the pool to reflect the

Re: [zfs-discuss] moving zfs filesystems between disks

2008-02-27 Thread Jeff Bonwick
Yes. Just say this: # zpool replace mypool disk1 disk2 This will do all the intermediate steps you'd expect: attach disk2 as a mirror of disk1, resilver, detach disk2, and grow the pool to reflect the larger size of disk1. Jeff On Wed, Feb 27, 2008 at 04:48:59PM -0800, Bill Shannon wrote: > I'

[zfs-discuss] moving zfs filesystems between disks

2008-02-27 Thread Bill Shannon
I've just started using zfs. I copied data from a ufs filesystem on disk 1 to a zfs pool/filesystem on disk 2. Can I add disk 1 as a mirror for disk 2, and then remove disk 2 from the mirror, and end up with all the data back on disk 1 in zfs (after some amount of time, of course)? If disk 1 is l