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'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 larger than disk 2, will the larger amount of space be > available after I remove the disk 2 mirror? > > (Disk 2 is a full disk, but disk 1 is actually just a partition of a > disk. I assume that doesn't make any difference.) > > Thanks. > _______________________________________________ > zfs-discuss mailing list > zfs-discuss@opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss