Trim

Manually trim the SSD with fstrim

Manually trim the SSD with fstrim

Options excerpt:

-a: trim mounted filesystems

-A: trim filesystems from /etc/fstab

-v: verbose

n: dry run

Trim mounted filesystems (dry run):

sudo fstrim -avn

Trim mounted filesystems:

sudo fstrim -av

Trim filesystems from /etc/fstab (dry run):

sudo fstrim -Avn

Trim filesystems from /etc/fstab:

sudo fstrim -Av
Code licensed under the MIT License; all other content under CC BY-SA 4.0.
Last updated on Mar 04, 2026 15:38 UTC
Built with Hugo
Theme Stack designed by Jimmy