D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Solid State Drive - first time

 

Hi Neil.

There's also option 5) - don't treat it any differently to a normal hard drive and do nothing.

This has been my policy for three years with all SSD drives, windows or linux, including those in-use in 24/7 debian servers. Touch wood, apart from some of the notoriously bad early OCZ drives, I've yet to have a failure or a noticable degredation in performance.

Simon


On 3 July 2014 12:24, Neil Winchurst <barnaby@xxxxxxxxxxxx> wrote:
Recently I ordered a new laptop and, for the first time I chose to have
an SSD. So I did some research beforehand including some questions to
the list. So I came across the trim command, which it seems is
necessary to keep your SSD in good nick.

I found lots of information on line, some of it conflicting of course.
There seem to be 4 ways of implementing trim.

1. Running the fstrim command manually as and when.
2. Adding the instruction to rc.local.
3. Setting up a cron job, or using one that is already installed.
4. Making a change to fstab.

No 1 was not recommended. Big Apple among others put an end to that one.
No 2 was favoured by some, but not by others.
No 3 My distro is Xubuntu 14.04 LTS which already comes with a cron job
set up. This was described as 'not the optimal method'.
No 4 This was the preferred method by some, not by others.

So, in the end, this is what I have done .....

I moved the cron job, cron.weekly/fstrim to another folder, effectively
stopping it from running.
I added discard and noatime to the relevant line in fstab.

Of course, early days yet, but it all seems to be working well. The
articles I read also warned about not defragmenting the disk, but I
assume that is Windows only, so I can ignore that.

If anyone has any advice, comments etc I will be grateful.

Thanks

Neil


--
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq