[ovirt-users] OVirt 4.1.2 - trim/discard on HDD/XFS/NFS contraproductive

Fabrice Bacchella fabrice.bacchella at orange.fr
Sun Jun 18 08:13:57 UTC 2017


> Le 18 juin 2017 à 08:00, Idan Shaby <ishaby at 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.


More information about the Users mailing list