Cannot create lvthin volume, threshold reached, with more than a tb of free storage

lex6i

New Member
Mar 7, 2025
1
0
1
Hello all,

I'm running into a problem on my server when trying to create or clone VMs, specifically this error
Code:
WARNING: Thin pool pve/data needs check has read-only metadata.
TASK ERROR: clone failed: lvcreate 'pve/vm-100-disk-0' error:   Cannot create new thin volume, free space in thin pool pve/data reached threshold.

The thing is that there is more than enough storage available as far as I can see, and the metadata is only at 4%. I have in two ssd's (1tb & 2tb)

Any assistance would be greatly appreciated!

Code:
root@keyblade:~# lvdisplay pve/data
  --- Logical volume ---
  LV Name                data
  VG Name                pve
  LV UUID                GcOudm-3h85-2OzP-5hL4-j4XF-2lF2-Fjvom3
  LV Write Access        read/write (activated read only)
  LV Creation host, time proxmox, 2024-12-21 23:49:30 +0000
  LV Pool metadata       data_tmeta
  LV Pool data           data_tdata
  LV Status              available
  # open                 0
  LV Size                2.55 TiB
  Allocated pool data    40.91%
  Allocated metadata     4.30%
  Current LE             669006
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           252:5

Code:
root@keyblade:~# lvs -a
  LV              VG  Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  data            pve twi-cotzM-   2.55t             40.91  4.30                           
  [data_tdata]    pve Twi-ao----   2.55t                                                   
  [data_tmeta]    pve ewi-ao----   8.10g                                                   
  [lvol0_pmspare] pve ewi-------   8.10g                                                   
  root            pve -wi-ao----  96.00g                                                   
  swap            pve -wi-ao----   8.00g                                                   
  vm-102-disk-0   pve Vwi-aotz--  82.00g data        100.00                                 
  vm-103-disk-0   pve Vwi-a-tz--  82.00g data        81.21                                 
  vm-111-disk-0   pve Vwi-a-tz-- 100.00g data        67.21                                 
  vm-112-disk-0   pve Vwi-a-tz--  50.00g data        34.36                                 
  vm-112-disk-1   pve Vwi-a-tz-- 240.00g data        32.27                                 
  vm-200-disk-0   pve Vwi-a-tz-- 100.00g data        90.39                                 
  vm-300-disk-0   pve Vwi-aotz--   5.00g data        21.65                                 
  vm-300-disk-1   pve Vwi-aotz-- 750.00g data        82.17                                 
  vm-301-disk-0   pve Vwi-aotz--   8.00g data        13.55                                 
  vm-997-disk-0   pve Vwi-a-tz--  40.00g data        47.67                                 
  vm-999-disk-0   pve Vwi-a-tz--  50.00g data        22.28