container shows wrong disk usage?

Code:
root@limone:~# pvs
  PV         VG  Fmt  Attr PSize   PFree
  /dev/sda3  pve lvm2 a--  311.75g 15.79g

Code:
root@limone:~# vgs
  VG  #PV #LV #SN Attr   VSize   VFree
  pve   1  16   0 wz--n- 311.75g 15.79g
 
Ok I now did
Code:
  pct mount $vmid
and
Code:
fstrim /var/lib/lxc/$vmid/rootfs
for every single vm and i got my disk space back

upload_2017-10-16_16-3-50.png

is there any way to do this automatically? did this happen because the containers are unprivileged?

edit: ok no the container which freed like 50GB is privileged
 
Last edited:
so maybe your thin-pool was partially corrupted and the mount/unmount has triggered some ext cleanup code? this is the only thing which comes to mind for this behaviour
 
I think I'll just use esxi and get away from containers :(
 
Last edited:

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!