1
23.7 Legacy Series / Assistance Needed with Expanding ZFS Pool on OPNsense VM
« on: December 29, 2023, 05:39:36 am »
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.
Here's a summary of what I've done and the issues I've encountered:
- Installed OPNsense on a VM with a 10GB disk, but OPNsense only sees 1.62GB.
- Tried to expand the ZFS pool using various methods (zpool online -e, zfs list, etc.), but the system does not recognize the free space.
- Attempted to force export (zpool export -f) and destroy (zpool destroy zroot) the pool, but it fails to unmount the root filesystem.
- Backed up the entire ZFS pool to a USB stick successfully.
- Running in single-user mode did not resolve the issue.
I am looking for a way to expand my ZFS pool without having to reinstall OPNsense, as I would like to avoid this if at all possible.
Any assistance or insight the community can provide would be greatly appreciated.
Here's a summary of what I've done and the issues I've encountered:
- Installed OPNsense on a VM with a 10GB disk, but OPNsense only sees 1.62GB.
- Tried to expand the ZFS pool using various methods (zpool online -e, zfs list, etc.), but the system does not recognize the free space.
- Attempted to force export (zpool export -f) and destroy (zpool destroy zroot) the pool, but it fails to unmount the root filesystem.
- Backed up the entire ZFS pool to a USB stick successfully.
- Running in single-user mode did not resolve the issue.
I am looking for a way to expand my ZFS pool without having to reinstall OPNsense, as I would like to avoid this if at all possible.
Any assistance or insight the community can provide would be greatly appreciated.