blob: 13c637b865eaa4ee61f81ed443b6a36a4b711a02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
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
|