I had a virtual machine which had no space left on my server using Proxmox Hypervisor.
I used this command to add 5Go of space to the VM putting the max space to 15Go:
qm resize <vmid> <device> <incrementsize>
qm resize 110 scsi0 +5
As you can see on the figure below, I have my 15 Go of space. But it's not allocated to the partition sda2.
Then my question is, how to resize this sda2 partition without recreating it from scratch ?
Thank you
EDIT :
sudo resize2fs /dev/sda2
Resizing the filesystem doesn't work because my partition is of type LVM.