I’m not well versed in this, but I’m wondering with almost everyone using nvmes/ssds, is trim enabled by default or if we have to manually enable it.
I ran systemctl status fstrim.timer but it shows its inactive.
I’m not well versed in this, but I’m wondering with almost everyone using nvmes/ssds, is trim enabled by default or if we have to manually enable it.
I ran systemctl status fstrim.timer but it shows its inactive.
Hello @helpcomputer
Here is along tread about that:
Thats the conclusion in my opinion:
So not all SSDs work with fstrim, therefore enabling it is a user choice.
Check this: Solid state drive - ArchWiki
Thank you for your post. I just wnated to clarify two things with you if you don’t mind (as I said, I’m not well versed in this stuff)
As an aside, what’s the difference between fstrim.timer and fstrim.service? Do I need to enable both (or does enabling one automatically enable the other?
The timer activates the service on a weekly basis.
It will go through all current mounts and runs fstrim if they support the discards
option.
You can check with the following command which drives will be used:
sudo fstrim --listed-in /etc/fstab:/proc/self/mountinfo --dry-run --verbose