Linux Lite Forums
Linux Lite 1.0.6 - Question about CRON trim weekly - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5)
+--- Forum: Installing Linux Lite (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=17)
+--- Thread: Linux Lite 1.0.6 - Question about CRON trim weekly (/showthread.php?tid=3111)



Linux Lite 1.0.6 - Question about CRON trim weekly - T1125P - 07-06-2016

Hi all, I saw the directions on how to set up a "daily" cron TRIM.  But how do set up a weekly? I have always used the discard entry with noatime, but I see it's not so good to use. I have tried LL 3.0 while it's awesome, my netbook seems a bit slower. I find LL 1.0.6 is the best fit for it. I Have tried so many distro's of Linux but 1.0.6 feels so awesome Smile Any help would be appreciated on the weekly trim Smile Thanks all and awesome job on LL 3.0


Re: Linux Lite 1.0.6 - Question about CRON trim weekly - T1125P - 07-07-2016

I just found this: https://chmatse.github.io/SSDcronTRIM/
"Intelligent cron job script which automatically decides how often to trim one or more SSD partitions"

This should also be useful to some members here ^|^


Re: Linux Lite 1.0.6 - Question about CRON trim weekly - Valtam - 07-07-2016

Nice find, I'll check this out.

Sent from my phone using Tapatalk




Re: Linux Lite 1.0.6 - Question about CRON trim weekly - T1125P - 07-07-2016

Welcome ^|^


Re: Linux Lite 1.0.6 - Question about CRON trim weekly - T1125P - 07-07-2016

I went ahead and followed the LL instructions on how to enable trim daily. I'm running LL 1.0.6  I have only 1 SSD in my netbook. 360GB Corsair Force GS and it shows trim does work on it, I used the fstrim command. Now I wanted to really test it by running a small script which I found here:
http://lightrush.ndoytchev.com/random-1/checkiftrimonext4isenabledandworking

I'm at the part Download the script.

It runs but it keeps saying /dev/sdx: no such file or directory.  Maybe I'm doing something wrong? :/







Re: Linux Lite 1.0.6 - Question about CRON trim weekly - Wirezfree - 07-07-2016

(07-07-2016, 09:44 PM)T1125P link Wrote: It runs but it keeps saying /dev/sdx: no such file or directory.  Maybe I'm doing something wrong? :/

Hi,
do not use /sdx... x is just an example
You need to use the correct drive..You need to put the drive you have LL installed on.
for example, on 1 PC I have only have 1 drive, and that is /sda
on another multi boot, LL is on /sdc
GL




Re: Linux Lite 1.0.6 - Question about CRON trim weekly - T1125P - 07-07-2016

Thanks so much you are right it's /dev/sda  I ran the test and now it works great. Smile