Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

We all know that SSDs have a limited predetermined life span. So the question for me is how do I check in (Ubuntu) Linux what the current health status of my SSD is? And maybe an estimation how long it will take?

Graphical tool is preferred, but command line tool would also be fine.

I'm using Xubuntu 12.04 LTS

share|improve this question
1  
normally you should not worry about health of an SSD. It is said that an SSD lives twice longer than an EIDE - or SATA - disk. –  dschinn1001 Jul 27 '13 at 13:34
    
Can you add the output of smartctl -i /dev/sda to your question? –  Mitch Jul 27 '13 at 13:43
    
@dschinn1001 Not exactly, that only applies to recent SSDs. First and Second generation SSD are known to have limited lifespan according to the amount of write operations to the disk. –  João André Jul 27 '13 at 15:05

4 Answers 4

up vote 9 down vote accepted

Install Gnome Disk Utility and check SMART Data and Tests for wear-leveling-count or similar. The higher that number (%, from 1 to 100), the most "used up" your SSD is, and you're more likely to have problems. But if you have a recent SSD, you need not worry about it.

Installed via

 sudo apt-get install gnome-disk-utility

start it via

either menu->Settings->Disk utility

or via command line

sudo palimpsest
share|improve this answer
    
Do you mean "Gnome Disk Utility" ? –  dschinn1001 Jul 27 '13 at 20:41
2  
Yes, I wasn't sure about the name because they changed it in 12.10 –  João André Jul 29 '13 at 0:51
1  
Exactly what I searched for –  keiki Aug 3 '13 at 11:34

Wear_Leveling_Count is the right attribute to track. However, like the other attributes, 100 is the BEST value and 0 is the WORST. Think of it as "percent life remaining".

share|improve this answer
    
It may vary from manufacturer to manufacturer, but this is most likely very wrong. On this page explaining micron (aka. crucial, as in "crucial m4", etc.) codes, this one is "Average erase count of all good blocks." That's a number that will increase with use. If you do some reading about wear leveling, you'll realize it should reach at least into the tens of thousands before the drive is defunct (i.e., you probably won't live to see it die this way). –  goldilocks Dec 14 at 15:05

to check the health of a SSD

For Ubuntu, Mint, or Debian based distributions

# apt-get install smartmontools

The Media_Wearout_Indicator is what you are looking for. For 100 means your ssd has 100% life, the lower number means less life left.

# smartctl -a /dev/sda | grep Media_Wearout_Indicator

To show your sdd information

# smartctl -a /dev/sda

You can read the complete article at Nam Huy Linux Blog - How to check SSD life left on linux http://namhuy.net/1024/how-to-check-ssd-life-left.html

share|improve this answer
    
So, if mine has value 199 - 199, is it credible ? –  badfoo Jan 22 at 20:32
    
That property does not appear in my SSD. Maybe I should look at Wear_Leveling_Count instead? as in: sudo smartctl -a /dev/sda | grep Wear_Leveling_Count EDIT: Confirmed by the response below: askubuntu.com/a/381779/221115 –  Jose Gómez Nov 14 at 20:41

If you don't have an Intel-brand SSD: READ THIS.

Watch out !! -- I was blithely mislead by 'smartmontools.' I have a Samsung SSD, and the smartmonitor/'smartctl' tool happily misreported that '233' (hex 'E9') attribute was 'Media_Wearout_Indicator'; in fact -- no, for Samsung (and other manufacturers) it is up to entirely different. This and other forum postings, stack-exchange question/answers, and power-user blogs I found seem to be 'Intel focused,' with only vague hints that 'it may vary.' (Versus any suggestion that you need to watch out for wrong and erroneous labeling of the attribute by smartmontools).

As I was preparing to copy my SSD to a new harddrive I'd bought (because of what smartmontools had told me), I booted to windows (I have a dual boot system), to learn something about SSD's from what the windows-only Samsung tool 'Samsung_Magician_v43.exe' had to tell me about my drive -- it was shockingly uninformative.

After what's been hours of digging - I've finally been able to run the windows only tools: hddgaurdian - ' code.google.com/p/hddguardian', and then also CrystalDiskInfo: Surprise! both tools independently tell me my Samsung SSD is 'just fine' (hdd guardian says '5 stars' and Crystal Disk "98% OK"). By contrast the smartctl tool explicitly labeled the attribute with 'decimal- 233 / 'hex- E9' as "Media Wearout Indicator" -- and told me its value was "1" or 1% -- an indicator of (the risk of) pending failure. To be as sure as I can, I dug and dug and was finally able to locate at least something from Samsung official: " http://www.samsung.com/global/business/semiconductor/minisite/SSD/us/download/07_Communicating_With_Your_SSD.pdf" The document indeed implies that the attribute 'hex E9' /'decimal '233' is not used by Samsung the same way. ( Samsung: I'm very disappointed, please either fix your official software-tool, or at least make it clear that you do not provide wear out indication information!)

Further - if you have neither an Intel SSD nor Samsung SSD - be warned, this info does seem to vary across manufacturers. ( e.g. see the attribute label chart on 'code.google.com/p/hddguardian/wiki/about_reliability' for the only useful indication of the degree of variability that I found. )

The so-what: If you don't have an Intel SSD-- do not be mislead by the false attribute name labels provided by smartmonitor. Perhaps it will improve in the future, but the version installed by default for Ubuntu 12.04 LTS (April, 2014) was total fail. Instead of telling you it 'doesn't know' -- smartctl just mislabeled the attribute. I did not find another tool for linux that made the 'correct' information transparent or clear.

share|improve this answer
    
Props for including the link to Samsungs documentation of their SMART attributes. I have no idea what those other applications you mentioned are or how useful they are, but I would strongly recommend you simply keep an eye on the Attribute #5 "Reallocated Sector Count" as this will be a good indicator of how close your SSD is to failure, as once it runs out of spare sectors it has to use to replace the ones that go bad then you'll be nearing EOL on your SSD –  Maks Jul 18 at 7:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.