I am currently running OPNsense version [insert version here] on a Proxmox VM and have encountered an issue with expanding my ZFS pool. I initially allocated 10GB to the VM, but OPNsense only recognizes 1.62GB, and I am unable to expand the pool to use the full disk space.
gpart show
$gpart show=> 40 20971440 da0 GPT (10G) 40 532480 1 efi (260M) 532520 1024 2 freebsd-boot (512K) 533544 984 - free - (492K) 534528 16777216 3 freebsd-swap (8.0G) 17311744 3657728 4 freebsd-zfs (1.7G) 20969472 2008 - free - (1.0M)
gpart recover da0gpart resize -i 4 da0
zpool online -e zroot da0p4