How to check if TRIM is enabled? (newbie)

Hi,

I have a newbie question

I read in an external forum that after installing Manjaro I have to enable TRIM, and that Manjaro has it disabled altough it should be enabled.

Is this really the case?

…it is suggesting to run the command

sudo systemctl enable fstrim.timer

Should I do it?

If it is so, how can I check if TRIM is enabled or disabled and if my SSD supports TRIM.

Thank you,

https://www.google.com/search?q=manjaro+trim

systemctl status fstrim.timer

… will tell you whether it’s active. If it’s not, then just issue… :arrow_down:

sudo systemctl enable --now fstrim.timer
5 Likes

If I use a discard=async in fstab (default btrfs after installation), do I also need to turn on the fstrim.timer?

That was also answered before: Can I change fstrim.timer to discard=async

2 Likes

Personally, I would advise against using discard in the fstab, and only have trims issued weekly (via the timer mentioned by @Aragorn.)


If you want to see for yourself if trims will be issued:

sudo fstrim -va
3 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.