aric wrote: > I would like to reduce the size of a zpool, but am unsure if it is possible, > or if it is how to go about doing so safely. The set-up: > 1) 75GB SATA internal drive 1 > /dev/dsk/c1d0s0 is in use for live upgrade /. > /dev/dsk/c1d0s1 is currently used by swap. > /dev/dsk/c1d0s3 is currently mounted on /. > /dev/dsk/c1d0s7 is part of active ZFS pool A > > 2) 75GB SATA internal drive 2 > /dev/dsk/c2d0s7 is part of active ZFS pool A > > 3) external 250GB firewire drive 7 > /dev/dsk/c7t0d0s0 is part of active ZFS pool B > > I need to enlarge the boot slices on drive 1, but to do so I must reduce > c1d0s7 size which is part of zpool A (I'd like to do the entire drive 1 ZFS > boot, but can wait on trying that). My plan was to: > 1) send snapshots of the zpool A file systems to drive 7, then > 2) destroy zpool A > 3) reformat drive 1 and reinstall the OS, either on zfs or ufs > 4) create a new zpool AA using only drive 2 > 5) import the saved zpool A file systems into zpool AA > > My main question is, can I import zpool A filesystems into zpool AA even > though zpool AA will be smaller than zpool A was when the filesystems were > sent? The actual zpool A filesystems are currently using only a small > fraction of the entire zpool A and would use only a fraction of the new zpool > AA size as well.
Yes. (Although, you mean "receive filesystems from pool A into pool AA"; not import.) And as I'm sure you are all getting tired of hearing, we're working on making this easier with "zfs send -R" and pool size reduction. --matt _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss