shrink zfs root zpool

Julien Cigar julien at
Wed Aug 3 20:45:23 UTC 2016


I have a machine with a simple zfs root mirror pool (2 disks) that I'd 
like to shrink and I wondered what would be the best approach to do 

I was thinking of booting on a usb stick, remove one physical disk from
the mirror, gpart resize the partition, create a new zpool, and finally
a pair of zfs snapshot / send from the old pool to the new one .. Would
that work? Any caveats?



Julien Cigar
Belgian Biodiversity Platform (
PGP fingerprint: EEF9 F697 4B68 D275 7B11  6A25 B2BB 3710 A204 23C0
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <>

More information about the freebsd-questions mailing list