> Hi, I know there is no single-command way to shrink a > zpool (say evacuate the data from a disk and then > remove the disk from a pool), but is there a logical > way? I.e mirrror the pool to a smaller pool and then > split the mirror? In this case I'm not talking about > disk size (moving from 4 X 72GB disks to 4 X 36GB > disks) but rather moving from 4 X 73GB disks to 3 X > 73GB disks assuming the pool would fit on 3X. I > haven't found a way but thought I might be missing > something. Thanks.
Hi. You might try the following: 1) Create the new pool ( your 3 X 73GB disks pool ). 2) Create a snapshot of the main filesystem on your 4 disks pool: zfs snapshot -r [EMAIL PROTECTED] 3) Copy the snapshot to the new 3 disks pool: zfs sent [EMAIL PROTECTED] | zfs recv newpool/tmp cd newppol/tmp mv * ../ 4) Replace the old pool with the new one: zpool destroy poolname ( do a backup before this ) zpool import newpool poolname This worked for me, but test it before using it on production pools. This message posted from opensolaris.org _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss