LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 08-20-2013, 10:23 AM   #1
hdp160
Member
 
Registered: Aug 2012
Posts: 100

Rep: Reputation: Disabled
SSD installation from scratch procedure needed.


Following a recent problem with my OS HDD (Solved) I have decided to try an SSD

Yesterday I purchased a 64GB Sandisk Sata III SSD and a 1TB WD RED (designed for NAS)

I've done some googling and background reading and the main issue appears to be longevity and therefore you must minimise as much as possible the "write" actions to the SSD.

I intend to mount both the SSD and the RED in a networked workstation (NOT in my NAS box.)

OS (Ubuntu 12.04) on SSD and local storage on RED.

Can anyone point me to any other good tutorials, HOWTOs or websites to help me on my next journey.

This one https://sites.google.com/site/easylinuxtipsproject/ssd seems to be the best so far, but I'm sure that there MUST be others.

Last edited by hdp160; 08-20-2013 at 01:30 PM.
 
Old 08-20-2013, 11:40 AM   #2
displace
Member
 
Registered: Jan 2013
Location: EU
Distribution: Debian, Arch, Xubuntu
Posts: 159

Rep: Reputation: 12
I haven't used SSD's before, but I've done some optimization for flash memory (i.e. usb keys and mmc's). Basically what you'd have to do is set the proper mount options for your drive. As a minimum the "noatime" and "discard" parameters should be added in fstab. There are more options you can use i.e. you could change the I/O scheduler to noop, then there's the data mode, do not use the SSD for temporary storage i.e. swap, etc.

Arch linux has some extensive information about SSD's. See here:
https://wiki.archlinux.org/index.php/SSD

Last edited by displace; 08-20-2013 at 11:45 AM.
 
1 members found this post helpful.
Old 08-20-2013, 01:28 PM   #3
hdp160
Member
 
Registered: Aug 2012
Posts: 100

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by displace View Post
do not use the SSD for temporary storage i.e. swap, etc.

Arch linux has some extensive information about SSD's. See here:
https://wiki.archlinux.org/index.php/SSD
Of cause no temporary storage and thanks that link it looks like another good starting point.
 
Old 08-20-2013, 01:41 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 14,880
Blog Entries: 2

Rep: Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805
That you should avoid writings to the SSD is not true anymore for modern SSDs. While it certainly helps to get the extra-lifetime out of a modern SSD with doing so it will be obsolete long before it dies.
The SSD in my main machine reports That I have 2716 GB currently written to it, the health index is still at 100% and the test program estimates a lifetime of over 8 1/2 years from now. The older SSD in my laptop (bought in 2010, a value model from Intel) reports 3368 GB written to it with a health index of 97%.
 
1 members found this post helpful.
Old 08-20-2013, 01:43 PM   #5
hdp160
Member
 
Registered: Aug 2012
Posts: 100

Original Poster
Rep: Reputation: Disabled
Quote:
That you should avoid writings to the SSD is not true anymore for modern SSDs. While it certainly helps to get the extra-lifetime out of a modern SSD with doing so it will be obsolete long before it dies.
The SSD in my main machine reports That I have 2716 GB currently written to it, the health index is still at 100% and the test program estimates a lifetime of over 8 1/2 years from now. The older SSD in my laptop (bought in 2010, a value model from Intel) reports 3368 GB written to it with a health index of 97%.
Now that is VERY interesting and worth exploring .. thanks

Last edited by hdp160; 08-20-2013 at 01:47 PM.
 
Old 08-20-2013, 01:44 PM   #6
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,412
Blog Entries: 1

Rep: Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951
Another tip might be to google for some info on the manufacturer's forum. When I bought OCZ SSD drives, I got a lot of information from their forums (about appropriate aligning their drives, updating the drive's firmware on Linux, etc).
 
Old 08-20-2013, 01:55 PM   #7
hdp160
Member
 
Registered: Aug 2012
Posts: 100

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sycamorex View Post
Another tip might be to google for some info on the manufacturer's forum. When I bought OCZ SSD drives, I got a lot of information from their forums (about appropriate aligning their drives, updating the drive's firmware on Linux, etc).

In the packaging under "installation guidelines" it says "For optimum performance, download latest firmware for your SSD from www.sandisk.com/support "

But from a "quick" look it looks like the firmware updater is only available for Windows, but bootable CD would probably work?

So your right I think a waddle around the sandisk site tommorow is good advice.

Last edited by hdp160; 08-20-2013 at 02:15 PM.
 
Old 08-21-2013, 06:55 AM   #8
hdp160
Member
 
Registered: Aug 2012
Posts: 100

Original Poster
Rep: Reputation: Disabled
Here is a cut and paste from the SanDisk Guru over on the SanDisk forum.

I asked what the current situation regarding repeated writes to SSD is..........


drlucky
SanDisk Guru
drlucky
Posts: 2,519
Registered: ‎07-18-2007
0
Re: Longevity -- Read / Write
Options

‎08-20-2013 01:41 PM

These drives are rated at something like 80TB written over the lifetime so unless you are doing some really write intensive applications you probably have no need to worry.


Well done TobiSGD 10/10 ............... :-)

Its almost certainly not worth the effort squeezing the extra life out of a 64Gb drive by the time it fails they will be so big most people would probably upgrade anyway.

Unless anyone else has a better answer, I will mark this thread solved in a few days time.

Last edited by hdp160; 08-21-2013 at 08:54 AM.
 
Old 08-21-2013, 08:02 AM   #9
pan64
Senior Member
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,001

Rep: Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003
actually if I could increase my safety by a little work (a few minutes/hours) I should do those steps (leaving /tmp and /run on SSD may be the case, also do not use SSD for torrents)
 
Old 08-22-2013, 03:04 AM   #10
hdp160
Member
 
Registered: Aug 2012
Posts: 100

Original Poster
Rep: Reputation: Disabled
Yes, thanks to all, this is GOOD advice.

My will install the SSD today and spend a "little" time configuring to minimise the read/writes.

But now I won't beat myself up worrying about the finer details.
 
Old 08-22-2013, 06:20 AM   #11
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,658

Rep: Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883
http://ef.gy/statistics:ssd-write-endurance

Worth a look if you're worried about SSD lifespans under _very_ heavy use.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASUS eee PC wifi driver needed alongwith the procedure to run drivers arun-mishra Ubuntu 2 03-08-2012 01:53 AM
Bad SSD on a eeePC. Trying to recover files ... please, help needed. robitabu Linux - General 6 08-06-2010 05:50 PM
procedure for making simplified linux kernel from scratch eliza Linux - Kernel 6 08-27-2009 12:46 PM
Ubuntu Server setup for LAN procedure needed murphy-o Linux - Newbie 3 05-26-2009 10:40 PM
Installation Procedure? usman767 Linux - Software 2 06-14-2003 07:28 AM


All times are GMT -5. The time now is 09:35 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration