Chat about just about anything else
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
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
- Level 7
- Posts: 1846
- Joined: Tue Feb 21, 2017 8:13 pm
- Location: Alamogordo, New Mexico, USA
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
ORDO AB CHAO
- Level 5
- Posts: 829
- Joined: Sat Jul 21, 2018 11:14 am
- Location: Utopia
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.