VM reports incorrect capacity in the OS

Mar 4, 2022
44
0
11
26
Ubuntu Server VM, with a 32GB disk. Ubuntu reports only 16GB, why?

I have two 32GB VMs, one reports 16GB, the other one reports 20GB. Screenshot of the one that reports only 16GB, GParted shows 32GB partition correctly.

Screenshot 2022-03-04 181840.png
 

Attachments

  • Screenshot 2022-03-04 181012.png
    Screenshot 2022-03-04 181012.png
    123.9 KB · Views: 4
  • Screenshot 2022-03-04 181820.png
    Screenshot 2022-03-04 181820.png
    65.5 KB · Views: 4
the "duf" output you posted does not show anything about actual disk, only the mounted partitions of the disk. Which is correctly reported.
For disk information see "lsblk" or "lsscsi", etc.

During the installation you were given a choice on how to partition the disk and the end result is what you see. You can either reinstall your OS or find a procedure on the net to expand the LVM slice and the ext4 file system inside the VM.


Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
the "duf" output you posted does not show anything about actual disk, only the mounted partitions of the disk. Which is correctly reported.
For disk information see "lsblk" or "lsscsi", etc.

During the installation you were given a choice on how to partition the disk and the end result is what you see. You can either reinstall your OS or find a procedure on the net to expand the LVM slice and the ext4 file system inside the VM.


Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
lsblk

https://i.imgur.com/mvAUs4G.png

Can you point me in the correct way about resizing that? It isn't a partition, right?