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

Discussion in 'SSDs & Data Storage' started by jdb2, Aug 14, 2019.

  1. jdb2

    jdb2 n00b

    Messages:
    24
    Joined:
    Feb 11, 2008
    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