Linux Lite 8.0 RC1 has been released - Click here


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Linux Lite 1.0.6 - Question about CRON trim weekly
#1

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 :) Any help would be appreciated on the weekly trim :) Thanks all and awesome job on LL 3.0
Reply
#2

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 ^|^
Reply
#3

Nice find, I'll check this out.

Sent from my phone using Tapatalk


Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply
#4

Welcome ^|^
Reply
#5

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/...andworking

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? :/




Reply
#6

(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


Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Reply
#7

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


Forum Jump:


Users browsing this thread: 1 Guest(s)