LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 01-21-2019, 12:21 PM   #1
MikeyCarter
Member
 
Registered: Feb 2003
Location: Orangeville
Distribution: Fedora
Posts: 492

Rep: Reputation: 31
Which SMART Attributes tell you when a SSD is starting to go?


I know when a regular hard drive is about to go... this one starts increasing:

Code:
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
What's the parameter I should monitor for SSD? Reallocated_Event_Count? Retired_Block_Count?
 
Old 01-21-2019, 04:53 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
When my HDD went south these were the errors I was getting.
It wouldn't boot no matter what I tried.

Code:
28.561344] ata1: irq_stat 0x0c000000, interface fatal error
[   28.561347] ata1: SError: { RecovData UnrecovData Proto HostInt 10B8B BadCRC }
[   28.561350] ata1: hard resetting link
[   29.051044] ata1: softreset failed (device not ready)
[   29.051048] ata1: applying PMP SRST workaround and retrying
[   29.222849] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[   29.222866] ata1: EH complete
[   29.222889] sd 0:0:0:0: [sda] Unhandled error code
[   29.222892] sd 0:0:0:0: [sda] 
[   29.222893] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[   29.222895] sd 0:0:0:0: [sda] CDB:
[   29.222897] Read(10): 28 00 00 00 00 77 00 00 08 00
[   29.222905] end_request: I/O error, dev sda, sector 119
[   29.222908] Buffer I/O error on device sda1, logical block 28
[   29.222911] Buffer I/O error on device sda1, logical block 29
[   29.222913] Buffer I/O error on device sda1, logical block 30
[   29.222915] Buffer I/O error on device sda1, logical block 31
end_request: I/O error, dev sda, sector 119
end_request: I/O error, dev sda, sector 121
 end_request: I/O error, dev sda, sector 123
https://www.ghacks.net/2017/07/19/ho...h-in-gnulinux/

Quote:
What's the parameter I should monitor for SSD? Reallocated_Event_Count? Retired_Block_Count?
I'm not sure so you'll have to wait for other members to answer that or google it.

https://www.google.com/search?client...60.6YCE_Ep5afY
 
Old 01-22-2019, 11:22 PM   #3
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Smart was designed for HDD, not SSD. Smart utility more likely to report a good SSD as failing. Use utility designed for SSD.
 
Old 01-23-2019, 12:04 AM   #4
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by Brains View Post
Smart was designed for HDD, not SSD. Smart utility more likely to report a good SSD as failing. Use utility designed for SSD.
SMART also covers SSD drives too. If you have a look, you'll see that SSD drives have SMART attributes with slightly different names.

Last edited by jsbjsb001; 01-23-2019 at 12:11 AM. Reason: addition
 
Old 01-23-2019, 07:08 AM   #5
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Quote:
Originally Posted by jsbjsb001 View Post
SMART also covers SSD drives too. If you have a look, you'll see that SSD drives have SMART attributes with slightly different names.
Yeah...
That's all fine and dandy'
Have a boo at this article.
Quote:
It should be noted that many of the S.M.A.R.T. utilities were originally designed for hard disk drives, which means they do not report SSD data correctly. When an attribute value is below the manufacturer’s threshold, the hard disk is considered unreliable. Often the attributes are incorrectly identified and a perfectly healthy SSD is reported as failing.
And this article should convince you of what I am highlighting, which is-----> The majority of S.M.A.R.T technology is focused on mechanical hardware. Ensure the software you are using focuses on SSD.
 
Old 01-23-2019, 07:40 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,680

Rep: Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893
Wear Leveling Count and Power_On_Hours are probably the significant indicators. However, what is reported and their values depends on the manufacture.
 
Old 01-23-2019, 02:53 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Always helps to view the OEM's web site for any programs they may have to view status. Some linux ones exist but many OEM's still use some sort of dos or windows.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: LG Will Take The 'Smart' Out Of Your Smart TV If You Don't Agree To Share Your Viewing And Sea LXer Syndicated Linux News 0 05-21-2014 11:13 PM
LXer: Smart TV, Spy TV. Is that LG Smart TV spying on you? LXer Syndicated Linux News 0 11-21-2013 06:30 PM
[SOLVED] Starting File System .. Starting File System .. Starting File System .. Starting File rmknox Linux - Newbie 3 08-15-2010 11:30 PM
LXer: A Microsoft Slur in the OOXML Saga -- Did I Tell You or Did I Tell You? - Updat LXer Syndicated Linux News 0 03-20-2008 01:10 PM
can you tell me what operting system the best for what i tell you here ? thanks SlackwareMan Linux - General 5 07-27-2004 02:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:55 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration