Is it possible to shrink, in-place, ZFS pools?

jdb2

n00b
Joined
Feb 11, 2008
Messages
24
I have an Intel NUC NUC8i7BEH with a Samsung 970 Pro 512GB M.2 NVMe SSD installed in it. My OS is Linux Mint Cinnamon 64-bit 19.2 . I'm running off of ZFS root with two pools : rpool and bpool, where bpool is everything under "/boot". Just yesterday, while performing an update, the update failed because the mkinitramfs process ran out of space in the ZFS bpool. The bpool is associated with a ~512MB GPT partition. From what I've read, I think it might not be possible to shrink my root ZFS pool. I looks like I'd instead have to expand the boot ZFS pool and the associated partitions, by creating a backup copy of the pools in a secondary storage device and then repartitioning. I would then have to use ZFS send and receive to restore my ZFS pools.

Is there any way to do the above in-place without using a second storage device?

Thanks,

jdb2
 
Back
Top