Le 18 juin 2017 à 08:00, Idan Shaby <ishaby(a)redhat.com> a écrit
:
If you don't need live discarding, shutdown the VM and disable the "Enable
Discard" option. That will cause qemu to ignore the live UNMAP SCSI commands coming
from the guest and not pass it on to the underlying storage.
Note that this makes fstrim completely redundant, as the purpose of the command is to
discard unused blocks under the given path.
Redundant ? Useless you mean ? From my comprehension, the purpose to fstrim is to send
UNMAP SCSI on batch instead of mount -o discard that send them synchronously.