--- Begin Message ---

Am 28.12.2022 um 12:44 schrieb Óscar de Arriba:
Hi Martin,

> Did you try to run a fstrim on the VMs to regain the allocated space? At least on linux something like "fstrim -av" should do the trick.

I did it now and it freed ~55GiB of a running isntance (the one with 128 GiB allocated). However that should only free blocks of the LV used to store that VM disk, right? And the issue itself is that the sum of maximum allocations of those disks is much lower than the space occupied.

I also have the feeling that those blocks remain used by a no longer existant LVs, but I don't know how to fix it.

Should I also enable trim/execute trim on Proxmox itself?

Oscar


Hi,

TRIM only works on a filesystem level, so you can't trim a VG or similar. On the pve host i doubt it will help, but it wouldn't harm either.

hth
Martin

--- End Message ---
_______________________________________________
pve-user mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user

Reply via email to