[PVE-User] RBD move disk : what about "sparse" blocks ?

Dmitry Petuhov mityapetuhov at gmail.com
Thu May 9 21:33:11 CEST 2019

It seems that guest kernel remembers which blocks it discarded recently 
and not tries to discard them again.

This behavior observed not only on LVM storage.

09.05.2019 18:54, Florent B пишет:
> On 07/05/2019 08:26, Alexandre DERUMIER wrote:
>>>> Of course when I run "fstrim -va" on the guest, I can't reclaim space
>>>> because kernel thinks it was already trimmed (while on source pool).
>> It should works without any problem. I have done it a thousand time.
>> fstrim do trim again and again a each run,for the whole disk.
>> (vs /etc/fstab discard option, which is doing it live only)
> I don't know why my Debian/Ubuntu VMs can't trim all disk space after
> moving rbd disk. I need to reboot VM to do it (simple reboot is enough)
> I always use LVM, is it related ?
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user

More information about the pve-user mailing list