fstrim-all

Section: Debian Administrator's Manual (8)
Updated: Dec 2013
Index Return to Main Contents

 

NAME

fstrim-all - call fstrim on all mounted file systems which support it

 

DESCRIPTION

SSD drives need to be TRIMed, i. e. they need to be told which blocks the OS considers as "unused" (i. e. from deleted files). Withouth this, the write speed on SSDs becomes slower over time.

fstrim-all detects which mounted partitions belong to drives that need/support trimming, and calls fstrim(1) on them.

It is meant to be called from cron. There is no output on success.

This only runs on Intel and Samsung SSDs as some SSDs with faulty firmware may encounter data loss problems when running fstrim under high I/O load (see e. g. https://launchpad.net/bugs/1259829). You can call fstrim-all with the --no-model-check option to disable the vendor check and run fstrim on all SSD drives.

 

AUTHOR

Martin Pitt <martin.pitt@ubuntu.com>

 

SEE ALSO

fstrim(8)


 

Index

NAME
DESCRIPTION
AUTHOR
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 01:41:21 GMT, January 23, 2018