Skip to content

Instantly share code, notes, and snippets.

@pedrojreis
Last active June 29, 2023 09:26
Show Gist options
  • Save pedrojreis/a7ec09802654d192c42167983400fdbb to your computer and use it in GitHub Desktop.
Save pedrojreis/a7ec09802654d192c42167983400fdbb to your computer and use it in GitHub Desktop.
Increase FileSystem in Proxmox Linux VM

Increase Available space in Proxmox Linux VM

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

  1. First we use Proxmox's GUI to increase Disk Size

  2. 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
  1. Replace * with partition you are resizing
resize2fs /dev/*
  1. Check that the space is now allocated
df -h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment