April 13, 2023
Growing a loop backed ZFS pool
LXD doesn’t let you directly grow a loop backed ZFS pool, but you can do so with:
sudo truncate -s +5G /var/snap/lxd/common/lxd/disks/default.img
sudo zpool set autoexpand=on default
sudo zpool online -e lxd /var/snap/lxd/common/lxd/disks/default.img