LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-03-2014, 03:56 AM   #1
littlebigman
Member
 
Registered: Aug 2008
Location: France
Posts: 660

Rep: Reputation: 35
Question Which SMART infos to watch for?


Hello

Provided SMART is a reliable way to tell how healthy a disk is... hard disks can return several infos through SMART.

Here's what I get from the two HDs on my workstation:
Code:
HD #1
01	Read Error Rate
03	Spin-Up Time
04	Start/Stop Count
05	Reallocated Sectors Count
07	Seek Error Rate
09	Power-On Hours (POH)
0A	Spin Retry Count
0B	Recalibration Retries
0C	Device Power Cycle Count
C0	Power-off Retract Count
C1	Load/Unload Cycle Count
C2	Temperature
C4	Reallocation Event Count
C5	Current Pending Sector Count
C6	Uncorrectable Sector Count
C7	UltraDMA CRC Error Count
C8	Write Error Rate / Multi-Zone Error Rate

HD #2
01	Read Error Rate
03	Spin-Up Time
04	Start/Stop Count
05	Reallocated Sectors Count
07	Seek Error Rate
09	Power-On Hours (POH)
0A	Spin Retry Count
0C	Device Power Cycle Count
B7	SATA Downshift Error Count
B8	End-to-End error / IOEDC
BB	Reported Uncorrectable Errors
BC	Command Timeout
BD	High Fly Writes (WDC)
BE	Airflow Temperature
C2	Temperature
C3	Hardware ECC Recovered
C5	Current Pending Sector Count
C6	Uncorrectable Sector Count
C7	UltraDMA CRC Error Count
F0	Head Flying Hours
F1	Total LBAs Written
F2	Total LBAs Read
Which infos are really important to watch for?

Thank you.
 
Old 06-03-2014, 10:34 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,348

Rep: Reputation: Disabled
"Current Pending Sector Count" is the number of unreadable sectors scheduled for reallocation. The next time such a sector is written to, it becomes part of "Reallocated Sectors Count". A growing number of bad/reallocated sectors is a sure sign that the drive is going bad, so you should definitely watch both those counters.

You may want to watch the temperature as well. As a drive ages, the bearings will generate increasingly more heat due to wear. Of course, you may only be able see the trend If the ambient temperature is reasonably stable.
 
Old 06-04-2014, 07:46 AM   #3
littlebigman
Member
 
Registered: Aug 2008
Location: France
Posts: 660

Original Poster
Rep: Reputation: 35
Thanks. I'll see how to read the Reallocated Sector Count from the two hard disks, and send an e-mail if it gets higher.
 
Old 06-04-2014, 08:02 AM   #4
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,348

Rep: Reputation: Disabled
smartmontools can do this for you. smartd monitors selected S.M.A.R.T. attributes and send an e-mail if the value(s) change(s).

A package is most likely available for your distribution.
 
Old 06-04-2014, 12:10 PM   #5
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
All "pre-fail" attributes are important, even "old age" ones are of some importance. It is also important to run a SMART long test once in a while to check for bad blocks.

Also note that the disk can fail with normal SMART attributes so backup often.
 
Old 06-05-2014, 08:01 PM   #6
littlebigman
Member
 
Registered: Aug 2008
Location: France
Posts: 660

Original Poster
Rep: Reputation: 35
Thanks for the infos.

Smartmontools doesn't work with the drives I have: It returns "Function not implemented" (although it's on Windows; Maybe it's a driver issue and they'd work find under Linux).
 
Old 06-05-2014, 08:27 PM   #7
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
Below is what I run to filter out most important data.

Code:
smartctl --all /dev/sda | grep -e "Reallocated_Sector_Ct" -e "Current_Pending_Sector" -e "Offline_Uncorrectable" -e "UDMA_CRC_Error_Count" -e "Hardware_ECC_Recovered"
 
Old 06-05-2014, 09:17 PM   #8
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Make sure SMART is enabled in the BIOS. Sometimes it is disabled by default for some unknown reason.
 
Old 06-06-2014, 05:40 AM   #9
littlebigman
Member
 
Registered: Aug 2008
Location: France
Posts: 660

Original Poster
Rep: Reputation: 35
Thanks for the tip.

Yes, it's enabled in the BIOS. For some reason, other Windows apps (SpeedFan, CrystalDiskInfo, etc.) can read SMART infos, so it's strange that smartmontools doesn't work. Oh well.
 
  


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



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: GEAK Watch – the First Android Smart Watch LXer Syndicated Linux News 0 06-24-2013 08:30 AM
LXer: Back to the Future With Apple’s Rumored Smart Watch LXer Syndicated Linux News 0 02-25-2013 02:50 PM
Smart problem adding new channel in Smart-beta google01103 SUSE / openSUSE 1 11-21-2006 07:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:43 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