Sometimes virtual machine disks runs out of space. Follow the steps below to resize the its partition.
1) Proxmox Configuration
Select the VM you want to resize the disk in the WebUI and navigate to Hardware>Hard Disk>Disk Action> Resize and set the size increment.
2) VM Configuration
The method to increase the file system will depend on the OS you are running. This tutorial will use an Arch Linux VM.
2.1) Use the tool parted to use the disk.
parted /dev/sda
2.2) With the command below we will resize the whole partition.
2.3) Finally, the file system has to be expanded. You can use a live Ubuntu server to boot the VM to and resize using the command below or most of the kernels should support online resizing.