VM reports incorrect capacity in the OS

Mar 4, 2022
33
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?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!