TN.Frank Posted April 4, 2014 Share Posted April 4, 2014 (edited) Just installed a couple 32GB Kingston 2.5" SSD's in my #1 and Jr. and want to make sure I have things working as well as possible. I read through this web page: http://www.webupd8.org/2013/01/enable-trim-on-ssd-solid-state-drives.html and did the following: Partitioned a 3GB section and left it "Unallocated". Checked to see if I had TRIM with: sudo hdparm -I /dev/sda | grep "TRIM supported" and I looks like I do have it(but the 32GB KingSpec 1.8" ZIF SSD that I put into my Acer Aspire ZG5 Netbook doesn't seem to have TRIM, go figure.) so I've done this: gksu gedit /etc/cron.daily/trim and put this into the file that opened up. #!/bin/sh LOG=/var/log/trim.log echo "*** $(date -R) ***" >> $LOG fstrim -v / >> $LOG fstrim -v /home >> $LOG I also added this in Terminal sudo chmod +x /etc/cron.daily/trim but I really have no way of knowing if it's working or not so I also manual do a TRIM with sudo fstrim -v / and sudo fstrim -v /home to make sure blocks are being cleaned up and are ready for new info. I've also set the cache in Firefox to 0MB so Firefox won't be writting to the SSD all the time. Anyway, any other tips or tricks ya'll have that are running SSD's in your systems? Edited April 4, 2014 by TN.Frank Quote Link to comment Share on other sites More sharing options...
cooper Posted April 5, 2014 Share Posted April 5, 2014 Well for one, any output from a script run by cron gets emailed to the account it's running under/for so you could, instead of redirecting to some logfile, just leave that out and configure the local mailer to dump root mails in your local inbox. Next you make that script output something that will sufficiently prove to you that it did its thing and you can safely stop doing the manual trims - just make sure to check your mailbox every so often if you feel you might not be getting your moneys worth. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.