shrink zfs root zpool
Julien Cigar
julien at perdition.city
Wed Aug 3 20:45:23 UTC 2016
Hello,
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
this?
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?
Thanks!
Julien
--
Julien Cigar
Belgian Biodiversity Platform (http://www.biodiversity.be)
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: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20160803/d92b3211/attachment.sig>
More information about the freebsd-questions
mailing list