How to check that SSD TRIM is running? (Mint 18.3)

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
parindos

How to check that SSD TRIM is running? (Mint 18.3)

Post by parindos »

On Linux Mint 18.3 ("Sylvia"), with default settings, SSD trim is supposed to run once a week, according to https://sites.google.com/site/easylinuxtipsproject/ssd

How can I verify this? Is there a log somewhere showing the last time TRIM ran successfully? Is this run by cron or anacron (there's a file 0anacron in dir /etc/cron.weekly, which makes it seem that the contents of this dir are actually being run by anacron)?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: How to check that SSD TRIM is running? (Mint 18.3)

Post by catweazel »

See the second answer here.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
sueede
Level 2
Level 2
Posts: 79
Joined: Wed Jan 20, 2016 5:31 am

Re: How to check that SSD TRIM is running? (Mint 18.3)

Post by sueede »

One way to check is like I do.
I activate TRIM once a month (cron monthly)
Have a 120 GB SSD ,half full.
I can see how write kbytes increases with this command (down below),
once a day. For me about 3 GB /day. But when the TRIM activates
it increases ca 50 GB. It happens ca the 17th of the month. Depends on the
length of the month, because it counts with ca 30 days/month.
(Maybe yours is every Sunday or so, if once a week)

Code: Select all

xed /sys/fs/ext4/sda1/lifetime_write_kb
Locked

Return to “Beginner Questions”