I wanted to increase the available space in my NextCloud instance that is installed in a Promox Linux VM The VM itself is alpine linux and the storage type is ZFS
-
First we use Proxmox's GUI to increase Disk Size
-
Install necessary utils to resize partition
apk add cfdisk e2fsprogs-extra
When you run cfdisk you should see a green line with the new (unnalocated) space available 3. Choose partition then "Resize" > "Write" (to finalize)
cfdisk
- Replace * with partition you are resizing
resize2fs /dev/*
- Check that the space is now allocated
df -h