Re: [PVE-User] LVM usage

2019-01-27 Thread Daniel
Yes, I run it via Cron on the Host. I found a Script in the Proxmox Forum. That’s working for me fine. Thx Am 27.01.19, 13:19 schrieb "pve-user im Auftrag von Dmitry Petuhov" : No, that's not bug, that's feature. If fstrim frees space, then you have discard enabled on host (in VM con

Re: [PVE-User] LVM usage

2019-01-27 Thread Dmitry Petuhov
No, that's not bug, that's feature. If fstrim frees space, then you have discard enabled on host (in VM config). You need to enable discard for guest filesystems on mount (usually in /etc/fstab), or just put fstrim to crontab. 26.01.2019 23:56, Daniel wrote: But when this is not enbaled by

Re: [PVE-User] LVM usage

2019-01-26 Thread Daniel
But when this is not enbaled by default in Proxmox it sounds like a "bug" inside Proxmox? Problem is that I have in general no access to mount options inside Proxmox. Fstrim is working for me at the moment. But this cant be a working solution. Am 26.01.19, 21:25 schrieb "pve-user im Auftrag vo

Re: [PVE-User] LVM usage

2019-01-26 Thread Dmitry Petuhov
This means that this 94.22% was once used. LVM knows when guest uses block first time, and allocates it at this omoment, but does not knows when it is freed in guest. You need to enable discard both in disk config on host and on filesystem in guest (via mount option of FS, or regulary run fstri

[PVE-User] LVM usage

2019-01-26 Thread Daniel
Hi there, i have a question. Proxmox is telling me that my THIN-LVM getting more and more full. I checked some virtual machines and I saw something weird (also on different hosts) --- Logical volume --- LV Path/dev/pve/vm-196-disk-1 LV Namevm-196-d