Sum of all thin volume sizes exceeds the size of thin pool pve/data and the size of whole volume group

Rob Jarratt

New Member
May 10, 2024
8
1
3
When I create a snapshot I get the following error

Code:
Sum of all thin volume sizes (<1.20 TiB) exceeds the size of thin pool pve/data and the size of whole volume group (<930.51 GiB).

I am not sure what it means because I have counted up the size of all the virtual disks and it should be well under the size of the logical volume. The full error log is below.

Code:
WARNING: You have not turned on protection against thin pools running out of space.
  WARNING: Set activation/thin_pool_autoextend_threshold below 100 to trigger automatic extension of thin pools before they get full.
  Logical volume "vm-105-state-AfterInstallation" created.
  WARNING: Sum of all thin volume sizes (1.07 TiB) exceeds the size of thin pool pve/data and the size of whole volume group (<930.51 GiB).
saving VM state and RAM using storage 'local-lvm'
1.00 MiB in 0s
892.85 MiB in 1s
1.74 GiB in 2s
2.60 GiB in 3s
3.46 GiB in 4s
completed saving the VM state in 5s, saved 3.83 GiB
snapshotting 'drive-scsi0' (local-lvm:vm-105-disk-1)
  WARNING: You have not turned on protection against thin pools running out of space.
  WARNING: Set activation/thin_pool_autoextend_threshold below 100 to trigger automatic extension of thin pools before they get full.
  Logical volume "snap_vm-105-disk-1_AfterInstallation" created.
  WARNING: Sum of all thin volume sizes (<1.20 TiB) exceeds the size of thin pool pve/data and the size of whole volume group (<930.51 GiB).
snapshotting 'drive-efidisk0' (local-lvm:vm-105-disk-0)
  WARNING: You have not turned on protection against thin pools running out of space.
  WARNING: Set activation/thin_pool_autoextend_threshold below 100 to trigger automatic extension of thin pools before they get full.
  Logical volume "snap_vm-105-disk-0_AfterInstallation" created.
  WARNING: Sum of all thin volume sizes (<1.20 TiB) exceeds the size of thin pool pve/data and the size of whole volume group (<930.51 GiB).
TASK OK

Furthermore, if I look at the lvm-thin disk under pve-->Disks it says I am using 13%, which is actually a lot less than the size of all the virtual disks I imported.

So, I am confused about what the error means and also about the amount of disk actually being used. I know thin volumes somehow optimize the empty parts, so perhaps that is right. But I am not expert in Linux admin, so maybe I am missing something. Also, is there a way to get a directory of the contents of the thin volume? I would like to know how much disk space each VM is using on the host.
 
I am not sure what it means because I have counted up the size of all the virtual disks and it should be well under the size of the logical volume. The full error log is below
It is possible, but very unlikely, that the system calculated the sum wrong. Can you explain what exactly you counted, and how it matches up the "lvs" and "lsblk" outputs?

The message means what it says. The OS/LVM thinks that you have overprovisioned your storage. If all the guests were to use all of the free blocks that were made available to them, you would run out of space and likely have data corruption.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
It is possible, but very unlikely, that the system calculated the sum wrong. Can you explain what exactly you counted, and how it matches up the "lvs" and "lsblk" outputs?

The message means what it says. The OS/LVM thinks that you have overprovisioned your storage. If all the guests were to use all of the free blocks that were made available to them, you would run out of space and likely have data corruption.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
I thought this might be what it meant, but I am pretty sure that the total storage used by the VMs, even if they used all their storage, would not be that much. I suppose I should check inside each VM to verify how big they think their disks are. The amount of thin storage that is seemingly being used seems unfeasibly low to me. Is there a way to see how much storage each VM is actually using in the thin volume?

Thanks

Rob
 

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!