<semi-SOLVED> I am new to SSD drives...need guidance

Chat about just about anything else
Level 5
Level 5
Posts: 969
Joined: Wed Jun 06, 2018 8:12 pm
Location: Mile High, Green State! (Denver, CO;)

Re: <semi-SOLVED> I am new to SSD drives...need guidance

Post by redlined » Mon Jan 14, 2019 1:30 pm

rene wrote:
Mon Jan 14, 2019 12:20 pm
I believe you may have at one point bumped into viewtopic.php?f=49&t=282032&hilit=override#p1555681 or similar and decided to experiment. Simply deleting the /etc/systemd/system/fstrim.timer directory or more specifically its contained override.conf should get properly rid of it.
Thank you rene, for clarifying as well maintaining interest in thread and helping sort it all out!

Indeed I had made the override and thread mentioned pointed me to the reminder:
https://easylinuxtipsproject.blogspot.c ... html#ID8.2

Code: Select all

anyuser@f023:~$ sudo rm -v /etc/systemd/system/fstrim.timer.d/override.conf
[sudo] password for anyuser:              
anyuser@f023:~$ sudo systemctl daemon-reload
anyuser@f023:~$ systemctl cat fstrim.timer
# /lib/systemd/system/fstrim.timer
Description=Discard unused blocks once a week


done and done! Weekly and automated is good enough for me striking a good balance between ensuring it is done periodically without having it done more often than is needed. more awesomesauce for my local commands cheatsheet :mrgreen:
LM19.1 Cinnamon 4.0.9, kernel 4.18.0-15 x86_64
HP15 Laptop: 2Ghz Celeron quad core, 1TB 860 Evo SSD, 8GB Timetec RAM

My go to sites, besides this forum:
(start here! - EasyLinuxTips project then go Learn Linux-fu!

Level 7
Level 7
Posts: 1557
Joined: Tue Feb 21, 2017 8:13 pm
Location: Alamogordo, New Mexico, USA

Re: <semi-SOLVED> I am new to SSD drives...need guidance

Post by DAMIEN1307 » Tue Jan 15, 2019 3:47 pm

one quick question...is there any real difference in these 2 different manual fstrim command codes...the first one was provided here in the posts regarding this subject, the second one was provided in pjotrs easy linux blog, they both appear to work, i just want to know if one does anything different then the other...thanks in advance...DAMIEN

Code: Select all

sudo fstrim -av

Code: Select all

sudo fstrim -v /

User avatar
Level 5
Level 5
Posts: 759
Joined: Sat Jul 21, 2018 11:14 am
Location: Utopia

Re: <semi-SOLVED> I am new to SSD drives...need guidance

Post by philotux » Tue Jan 15, 2019 4:28 pm

The first one will run on all the mounted partitions/filesystems that are supported, if there are some more than the /, like a separate home or data partitions etc.
The second one will run only on the / partition.

Post Reply

Return to “Open chat”