VM is not showing all disk space

java.we

New Member
May 5, 2025
2
0
1
Greetings everyone, as the title says, I created a VM with Ubuntu. Initially, I thought it was only 15 GB. Later, I expanded it to 92 GB, but it's currently only showing 30 GB.

I'm attaching screenshots of some commands to give you an idea.


Screenshot 2025-05-19 at 9.32.22 PM.png

lsblk
Screenshot 2025-05-19 at 9.33.03 PM.png

pvs
Screenshot 2025-05-19 at 9.33.30 PM.png

vgdisplay
Screenshot 2025-05-19 at 9.33.46 PM.png

lvdisplay:
Screenshot 2025-05-19 at 9.34.02 PM.png
This is the disk and partition information.

This is what it shows in Beszel information

Screenshot 2025-05-19 at 9.40.24 PM.png

Thanks in advance.

Best regards.
 
Last edited:
Please don't needlessly quote things, especially not in full. The message you're quoting is directly above yours. It's redundant and just noise.

I don't think you did
Untitled.png
Run cfdisk /dev/sda and resize the sda3 partition. Confirm and write. Then run pvresize /dev/sda3 and lvresize -r -l +100%FREE ubuntu-vg/ubuntu-lv.
 
Last edited:
Can you show the command/s used?

From your lsblk output above - we can see that the total drive space on /dev/sda is 92G but that only ~32G is used in the three partitions. So at present it appears that the system is not aware of you having extended that sda3 partition.

Your issue is not a Proxmox issue per se, but rather a general Linux/Ubuntu one of extending Part/PV/VG/LV. There are many articles online available for this - including ones discussing virtual disks - as yours.

Your issue may also be compounded by the fact you are doing this on an online disk (possibly also without rebooting the VM?).

Here is a decent article on the subject.

One more tip - make sure you have a complete & restorable backup of that VM if you value your data - before doing such manipulations on it's virtual disk/s.