FSTRIM(8) FSTRIM(8) fstrim - fstrim [-v] [-o ] [-l ] [-m -] -A|-a|- fstrim ( "") . (SSDs) (thinly-provisioned). fstrim . . - -A -a --fstab --all. fstrim mount -o discard SSD . . (queued trim) . - KiB (=1024) MiB (=1024*1024) GiB TiB PiB EiB ZiB YiB ( "iB" "K" "KiB") KB (=1000) MB (=1000*1000) GB TB PB EB ZB YB. -A, --fstab (Trim) /etc/fstab (discard). . --offset --length --minimum . autofs . "X-fstrim.notrim". -a, --all . --offset --length --minimum . . -n, --dry-run FITRIM ioctl . -o, --offset . . -l, --length ( ) . fstrim . . -I, --listed-in {colon} fstab mountinfo . . . : --listed-in /etc/fstab:/proc/self/mountinfo. "X-fstrim.notrim" fstab. -m, --minimum - . ( ). fstrim (fstrim_range.minlen) . fstrim . . -t --types --all --fstab. . mount -t. . "no" "no". ( "autofs") . -v, --verbose . fstrim . FITRIM ioctl . fstrim . RAID LVM . fstrim_range.len ( --length). --quiet-unsupported trim (ioctl) . systemd cron(8) NTFS Bad file descriptor ioctl FITRIM. fstrim. -h --help . -V --version . 0 1 32 64 (discard) fstrim --all 0 ( ) 32 ( ) 64 ( ). Lukas Czerner , Karel Zak blkdiscard(8) mount(8) . fstrim util-linux . util-linux 2.42.1 2026-05-18 FSTRIM(8)