PROXMOX Provisioning

After some software installs one of my PROXMOX virtual machines is running a bit low on space. More of a note for myself this is the process of provisioning more space pulled right form the official page.

Select the VM, Click on Hardware, Select the disk, and under disk action select the incremented increase.

The following are then the commands:

dmesg | grep sda
fdisk -l /dev/sda | grep ^/dev
parted /dev/sda
resizepart X 100%
pvresize /dev/sda3
lvresize --extents +100%FREE --resizefs /dev/XXXXXX

An addendum to this for working with virtual disk arrays using sgdisk:

lsblk
sgdisk -e /dev/vda
sgdisk -d 2 /dev/vda
sgdisk -N 2 /dev/vda
partprobe /dev/vda
resize2fs /dev/vda2
lsblk

Leave a Reply