No, I created the VM, then installed Ubuntu server. Right after installation I ran "df -h".Was the disk resized after the OS install?
I know; but I still miss GBs then, right?PVE lvm configuration != VM lvm configuration
Aha!!! This explains!!! Let me try to create a test VM and take a screenshot. One moment...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.
What would be the reason for the installer to tell LVM to not use the full capacity?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.
We use essential cookies to make this site work, and optional cookies to enhance your experience.