Hello,
I'm running a FreeBSD 12 VM with ZFS and GELI disk encryption. As I was running out of space, I've tried to increase the virtual disk.
To do so, I've shut down the VM and increased the virtual disk. After I've increased the virtual disk, I booted the system into single user mode and increased the partition size with
After that, I've tried to increase the ZFS pool size with
Obviously I did something wrong. What would be correct procedure to increase the size of a zfs partition?
I'm running a FreeBSD 12 VM with ZFS and GELI disk encryption. As I was running out of space, I've tried to increase the virtual disk.
To do so, I've shut down the VM and increased the virtual disk. After I've increased the virtual disk, I booted the system into single user mode and increased the partition size with
# gpart resize -i 4 da0
. # gpart show
showed me the bigger partition.After that, I've tried to increase the ZFS pool size with
# zpool set autoexpand=on zroot
, but it did not work. After a reboot, I was not able to mount the zroot pool.Obviously I did something wrong. What would be correct procedure to increase the size of a zfs partition?