#fstrim
You're probably seeing the daily fstrim runs tbh
April 22, 2025 at 3:38 PM
i bet fstrim feels so good if you're an ssd
August 23, 2026 at 10:30 PM
well I learned the hard way tonight not to run a linux kernel without long term support without a very good reason, but the comedic timing was incredible at least
March 30, 2026 at 8:19 AM
Nevermind I ran fstrim and it started going fast
March 28, 2026 at 6:19 AM
Learn how to permanently and securely delete files on Linux using shred, fstrim, secure-delete, and btrfs snapshot removal.

Full step-by-step guide here: ostechnix.com/securely-del...

#securedelete #shred #fstrim #ssd #hdd #btrfs #srm #sfill #sswap #smem #Linuxadmin #Linuxhowto #Linux
How to Securely Delete Files on Linux (So They Stay Gone) - OSTechNix
Learn how to permanently and securely delete files on Linux using shred, fstrim, secure-delete, and btrfs snapshot removal.
ostechnix.com
June 26, 2026 at 2:47 PM
Tech thing I learned this week: fstrim

The Linux filesystem on SSD needs periodic maintenance and things get weirdly slow otherwise
November 23, 2024 at 9:22 PM
super cool to see!

I think you're doing ~2TB disks? recent growth has hit disk usage, I think, might run out. compactions run better down, should enable that. we saw some fstrim issues, didn't include that in write-up but FYI.
September 16, 2024 at 8:25 PM
@valvesoftware.com Are you guys ever going to work with Kingston to fix the firmware on the Steam Deck SSDs? Taking 20 minutes to fstrim is not acceptable especially with how often it triggers on the Deck.
April 20, 2025 at 8:52 PM
For anyone noticing very poor performance on their Deck especially right after boot/wake from sleep check which SSD you have with this command

$ nvme list

KINGSTON OM3PDP3512B-A01 is the offending model.

$ pgrep -a fstrim

Will show you it running. Fstrim is chunked by the Steam client itself.
April 20, 2025 at 9:02 PM
"pet appview" is pretty high on my want-list as well.

was the missing flag compaction? I indeed also forgot to set that up

another recent lesson learned: disable fstrim, or investigate/tune that specific process
October 21, 2024 at 11:38 PM
well i have the fstrim timer enabled soooo
June 9, 2026 at 12:39 PM
@lun.horse no, i'm using nixos's default of running fstrim weekly
August 12, 2025 at 11:09 PM
031/128 The README specifies weekly fstrim and discards through the LUKS mapping. That's a documented storage policy, not a mystical optimization incantation. Storage choices have tradeoffs; a pretty desktop doesn't erase them.
September 20, 2026 at 3:31 PM
Well, not good. My desktop has reset itself three times. Once it was an invalid fstrim for a massively high address. Then two kswapd failures.

I spent significant time getting pstore running to persist crash messages, only for glm-5.1 to tell me, oh, efi_pstore already caught all of these errs!
June 9, 2026 at 7:30 PM
PSA

If you're running Linux with an SSD (I mean, who's still using spinning magnetic platters?) set up a root cron job to "trim" the devices to optimize performance

11 5 * * * /sbin/fstrim --all --verbose

/home: 20.6 GiB (22092808192 bytes) trimmed on /dev/nvme0n1p2
July 31, 2026 at 11:39 AM
thanks!

yeah 2x1.92 GB (1.75 GiB) drives, one goes for postgres the other for carstore, same as you. will keep an eye on disk usage, if it's getting close to full during backfill then i'll turn on compaction otherwise i can do that after. say more about the fstrim issues?
September 16, 2024 at 8:32 PM
Ext4 va benissimo anche su ssd che supportano fstrim. Tuttavia btrfs nel tempo è decisamente migliorato e con gli adeguati parametri (noatime, compress=zstd, discard=async, space_cache=v2, commit=120 e quando serve nodatacow) va meglio su ssd. Per la manutenzione imposti un cronjob e via.
September 1, 2026 at 8:28 AM
util-linuxの日本語翻訳担当にしてもらった。https://translationproject.org/team/ja.html
とりあえず以下が完了
・わかりやすい間違いを修正
・SSDに関係が深いコマンド(fstrim, blkdiscard, blkzone, blockdev, swapoff, swapon, lsblk)の未翻訳メッセージを翻訳
July 9, 2024 at 6:36 AM
After a lot of research I'm relaxing my opinions on SSDs, the controller death thing is scary but I've been overblowing my fear of the NAND wear thinking it's just gonna die without warning but looking it up fstrim and S.M.A.R.T. helps keep track of that and HDDs aren't perfect either.
August 25, 2025 at 5:57 AM
_probably_ all the major linux distros now put this in weekly cron; iirc fstrim detects which filesystems+devices it is relevant to and harmless otherwise. AND, we ran into a case where it desperately needed to be run _now_, AND on a busy server ... "it's complicated"
November 24, 2024 at 12:45 PM
Freeing storage space, or trimming, on solid-state drives (SSDs) or non-volatile memory express (NVMe) devices reduces wear and tear and improves device performance.

Read our latest post for advice on this 🙏

kb.linbit.com/generic-linu...
Auditing TRIM Behavior Across File System, DRBD, and LVM Layers
Freeing storage space, or trimming, on solid-state drives (SSDs) or non-volatile memory express (NVMe) devices is important to reduce wear and tear and to improve device performance. The Linux fstrim ...
kb.linbit.com
July 9, 2026 at 7:37 AM
SSD trim on Linux runs weekly by default on most distros, but if you're running an older setup, check with `fstrim -v /`. Your SSD's garbage collection needs this to maintain speed over time. #linux
July 4, 2026 at 10:21 AM