LVM shows that it's full

cyneric

New Member
Oct 22, 2020
7
0
1
30
Hi there,

im running into problems with my proxmox setup. I'm pretty new to proxmox and was not able to find a solution for this problem.
Proxmox is running on a 512 GB NVMe SSD and there should be lots of space left on the drive, but proxmox tells me I'm at 97% usage.
Did I miss to configure something? What am I doing wrong? Or might this just be a bug displaying the wrong usage?




Unbenannt.png

pvet.png
pve2.png
 
Mar 16, 2019
282
47
33
60
California, USA
You have allocated almost all of your logical volume, that's why it says it is full.

You have space on your rootfs, so you could set up a storage on the rootfs and put some VM's there. My rootfs has a storage called "local" that Proxmox set up but it is configured for ISO's and templates only. If yours is similar you can just add 'disk images' to the allowed data types.

1627937292497.png
 

cyneric

New Member
Oct 22, 2020
7
0
1
30
thanks for your reply. What I don't get is, even when I'm deleting VM's or containers the usage doesn't go down. I cant free space there.
 

cyneric

New Member
Oct 22, 2020
7
0
1
30
The only thing that goes down in usage when im deleting VM's or containers is this, but my LVM is still showing me 97% usage

Unbenannt.png
 
Mar 16, 2019
282
47
33
60
California, USA
LVM stands for Logical Volume Manager. It replaces traditional disks and partitions with "volume groups" and "logical volumes" for more flexible management of your storage. Proxmox uses LVM by default for systems with only one disk.

What the GUI you pictured in the first post shows is that the volume group called pve takes up almost the entire partition it is on. This is normal.

The VG is then divided up into logical volumes. The same GUI shows that there are (or were) 17 volumes in the VG. There are two kinds of LV's, regular and thin. Your root and swap are regular. They use the specified amount of space even if it is mostly empty. So your root volume is taking 96 GB even though it is only 25% full.

Thin volumes on the other hand take only the amount of space that they need. This means you can over-provision your space and have more VM's if they typically don't use all of the space you gave them. But you have to watch usage and if you start to run out you have to change something to prevent that.

The last picture you posted shows the space in your thin pool (called data). That's where your VM disks are carved from. It is only half used now.

From the command line, the "vgs" command shows you the volume group status while "lvs" is the logical volumes within the groups. For thin-provisioned volumes it shows how much of the provisioned space is used.

The PVE documentation has a section on storage that discusses this in some detail and there is a section on the LVM and LVM-thin backends you should read.
 

catmao

New Member
Apr 1, 2021
9
1
3
35
The display is full because the function uses 9x% of the physical disk space. You should pay attention to the actual usage of LVM partition.

Just like the house you built occupies XX% of the space in the yard, but it doesn't mean that the house is completely filled, otherwise the furniture and people can't use the room.
 
  • Like
Reactions: Whitterquick

cyneric

New Member
Oct 22, 2020
7
0
1
30
Thanks for your help!

So in conclusion this means this is totaly normal?
as long as im not exceeding my lvm-thin "data" im fine and don't have to reconfigure something?




Unbenannt.png
 

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 your own in 60 seconds.

Buy now!