Storage

Weekly file system TRIM is now enabled

The fstrim.timer unit is now enabled by default for new installations and upgrades. The unit weekly runs the fstrim tool, which sends the TRIM command to all mounted file systems that are listed in the /etc/fstab file.

The TRIM command informs physical and virtual storage devices about unused blocks. This has the following effects:

  • The hinting can make wear leveling and block erasure more efficient.

  • TRIM returns free logical extents on LVM thin provisioning to the thin pool.

  • TRIM prevents the slow downs that might occur in certain flash storage devices.

For details about the TRIM command and the fstrim tool, see the fstrim(8) man page.