Thank you but where exactly do I write this command? In the Shell for each VM and Host?hi,
fstrim.timer
executes once a week automatically.
Besides the host does it run automatically for all the VMs on it and storage/directories as well?
fstrim -a
is shorthand for fstrim --all
. it will trim all the mounted filesystems that support discarding.systemctl enable fstrim.timer
systemctl start fstrim.service
journalctl -u fstrim.timer
journalctl -u fstrim.service