My LVM seems to be filling up and not freeing space, even when some of the containers/VMs stored there are removed or trimmed (fstrim -v / in the container/VMs). I have ensured that discards=on is set for the VMs using this storage pool. This appears to be preventing me running backups. What am I missing to actually free up space here? Whatever I do, it shows as 15.80g free...
Thanks for the help, I'm pulling my hair out here and I'm hoping I'm missing something simple.
Code:
root@pve:~# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve twi-aotz-- 199.59g 42.50 20.13
root pve -wi-ao---- 74.25g
swap pve -wi-ao---- 8.00g
vm-101-disk-1 pve Vwi-aotz-- 32.00g data 44.46
vm-106-disk-1 pve Vwi-aotz-- 32.00g data 15.95
vm-107-disk-1 pve Vwi-aotz-- 32.00g data 22.66
vm-110-disk-1 pve Vwi-a-tz-- 16.00g data 20.71
vm-111-disk-1 pve Vwi-a-tz-- 32.00g data 16.15
vm-112-disk-2 pve Vwi-aotz-- 32.00g data 21.52
vm-123-disk-1 pve Vwi-aotz-- 64.00g data 19.98
vm-150-disk-1 pve Vwi-a-tz-- 37.00g data 81.35
root@pve:~# pvs
PV VG Fmt Attr PSize PFree
/dev/sdb3 pve lvm2 a-- 297.84g 15.80g