LXC 10G Disk not 10240M

sb-jw

Famous Member
Jan 23, 2018
1,843
291
128
32
Hello,

if i create an LXC via GUI or API and resize the disk to e.g. 10G, i have 10G but its not equal to 10240M its only 10015M so after starting the Container the PVE GUI shows only 9.78 GiB. If the LXC is stopped the PVE GUI shows Bootdisk Size of 10G.

The CEPH RBD Image has the correct Size of 10.00 GiB.

Is this a Bug or a normal behavior?
Its a little bit critical, because we want to resell the LXC and the Customer may complained about they booked 10G but don't have these.

Thanks!
 
Is this a Bug or a normal behavior?
This is normal.
The rbd image is 10GB in size and you have on this image an ext4 white GPT partition layout where inodes and journal will need space.
the
 

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!