[SOLVED] Virtual disk of 100 GB, but only 50 GB available?

Thats because of the new Ubuntu installer. PVE will create a 100GB virtual disk but the ubuntu will only use part of that by default if you don't manually tell the installer to use the full space. So you need to extend the VG, LV and filesystem inside the guest.
 
The pictures show you that you got a 100GB disk. Ubuntu will create 3 partitions. 1MB for the grub bootloader, 1GB for the boot partition and 98,997GB as a PV (physical volume) for your LVM. On top of this 98,997GB PV is a 98.996GB VG (volume group). But on top of that there is only a 49,498GB LV (logical volume) for your root. So half of your VG is unused and ubuntu only uses that 49,498GB LV. So you only got 49,498GB of usable space unless you create your own LV using that unallocated space or extend that existing LV to use all the space. Or tell the installer to create a LV that should use the full 98.996GB of the full VG size.
You really should read a bit on how LVM works.
 
Last edited:
  • Like
Reactions: black_snowman
The pictures show you that you got a 100GB disk. Ubuntu will create 3 partitions. 1MB for the grub bootloader, 1GB for the boot partition and 98,997GB as a PV (physical volume) for your LVM. On top of this 98,997GB PV is a 98.996GB VG (volume group). But on top of that there is only a 49,498GB LV (logical volume) for your root. So half of your VG is unused and ubuntu only uses that 49,498GB LV. So you only got 49,498GB of usable space unless you create your own LV using that unallocated space or extend that existing LV to use all the space. Or tell the installer to create a LV that should use the full 98.996GB of the full VG size.
You really should read a bit on how LVM works.
What would be the reason for the installer to tell LVM to not use the full capacity?
 
I don't know. But LVM snapshots would be for example a reason not to allocate all space, because snapshots will use this unallocated VG space.
 

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!