Question: How do I resize the local volume on the VM in Proxmox?
Login to See the Rest of the Answer
Answer:
1. Give desired size of the Hard-Disk
#check if the root disk is cosumed 100%
sudo dh -h
# Increase the Physical Volume (pv) to max size
pvresize /dev/sda3
2. Inside the VM, do the commands:
# Expand the Logical Volume (LV) to max size to match
lvresize -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv
3. Expand the File System itself:
# Expand the filesystem itself
resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv
Double check the paths maybe different from the mentioned above.