- Resize disk from ProxMox GUI
- Go to your VM, select Hardware
- Select the Hard Disk you wish to resize
- Select Disk Action in the top ribbon and then 'Resize'
- In the 'Resize Disk' window that appears, enter the amount of GiB you wish to INCREASE your existing disk
NOTE: There is no option to shrink here and you are only specifying what you wish to ADD in addition to your existing disk size. - Alternatively this can be achieved via the Host's Shell with the following:
qm resize <vmid> <disk> <size>
- Extend physical drive partition```
sudo fdisk -l
sudo growpart /dev/sda 3
sudo pvdisplay
sudo pvresize /dev/sda3
sudo pvdisplay
- Extend the Logical Volume
sudo lvdisplay
sudo lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv
sudo lvdisplay
- Resize Filesystem
sudo resize2fs /dev/ubuntu-vg/ubuntu-lv
sudo fdisk -l