|
Server : LiteSpeed System : Linux srv45672493.ultasrv.net 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64 User : dewab7604 ( 1100) PHP Version : 8.1.33 Disable Function : NONE Directory : /usr/share/doc/util-linux/ |
Upload File : |
Periodic fstrim for SSD disks
-----------------------------
fstrim(8) is used on a mounted filesystem to discard blocks which are not in
use by the filesystem. This is useful in particular for solid-state drives
(SSDs).
A systemd service and matching timer is available to periodically perform
fstrim on relevant filesystems, but is *not* enabled by default. To enable it
according to the default weekly cadence, just do the following as root:
systemctl enable fstrim.timer