LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-16-2007, 09:42 AM   #1
lord loh.
LQ Newbie
 
Registered: May 2007
Location: Lubbock, TX
Distribution: Slackware ubuntu Arch
Posts: 21

Rep: Reputation: 0
Question Harddisk Paramaters


I tried to fiddle around with some HardDisk Drive utilities and got the following output from

Code:
smartctl -A /dev/sda1

Code:
=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   114   085   006    Pre-fail  Always       -       83258829
  3 Spin_Up_Time            0x0003   096   095   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       82
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   066   060   030    Pre-fail  Always       -       4275747
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       280
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       86
187 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
189 Unknown_Attribute       0x003a   100   100   000    Old_age   Always       -       0
190 Temperature_Celsius     0x0022   053   048   045    Old_age   Always       -       791216175
194 Temperature_Celsius     0x0022   047   052   000    Old_age   Always       -       47 (Lifetime Min/Max 0/28)
195 Hardware_ECC_Recovered  0x001a   062   048   000    Old_age   Always       -       57421795
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0000   100   253   000    Old_age   Offline      -       0
202 TA_Increase_Count       0x0032   100   253   000    Old_age   Always       -       0
Here is my Hard Disk Specifications.

My concern is the row that states Raw_Read_Error_Rate this figure seems too high... What exactly is it?

If I see the ECC recovery, The number of unrecovered errors is 25837034... Is there something wrong?
 
Old 09-17-2007, 06:38 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,765

Rep: Reputation: 306Reputation: 306Reputation: 306Reputation: 306
The RAW_VALUE numbers have little to do with actual errors that have occured. It is a six-bit number (with more info) that the VALUE (normalized number). The numbers to worry about are VALUE and THRESH. When VALUE gets close to THRESH, the drive is about to fail. I found this, which might ease your mind:
Quote:
Each Attribute has a six-byte raw value (RAW_VALUE) and a one-byte normalized value (VALUE). In this case, the raw value stores three temperatures: the disk's temperature in Celsius (29), plus its lifetime minimum (23) and maximum (33) values. The format of the raw data is vendor-specific and not specified by any standard. To track disk reliability, the disk's firmware converts the raw value to a normalized value ranging from 1 to 253. If this normalized value is less than or equal to the threshold (THRESH), the Attribute is said to have failed, as indicated in the WHEN_FAILED column. The column is empty because none of these Attributes has failed. The lowest (WORST) normalized value also is shown; it is the smallest value attained since SMART was enabled on the disk. The TYPE of the Attribute indicates if Attribute failure means the device has reached the end of its design life (Old_age) or it's an impending disk failure (Pre-fail). For example, disk spin-up time (ID #3) is a prefailure Attribute. If this (or any other prefail Attribute) fails, disk failure is predicted in less than 24 hours.

The names/meanings of Attributes and the interpretation of their raw values is not specified by any standard. Different manufacturers sometimes use the same Attribute ID for different purposes. For this reason, the interpretation of specific Attributes can be modified using the -v option to smartctl; please see the man page for details. For example, some disks use Attribute 9 to store the power-on time of the disk in minutes; the -v 9,minutes option to smartctl correctly modifies the Attribute's interpretation. If your disk model is in the smartmontools database, these -v options are set automatically.
Ignore the part about temperatures. The author was using cpu temp as an example of what smartctrl was reporting. You can see from this that the raw value is not reporting actual number of errors.
 
Old 09-29-2007, 12:46 PM   #3
lord loh.
LQ Newbie
 
Registered: May 2007
Location: Lubbock, TX
Distribution: Slackware ubuntu Arch
Posts: 21

Original Poster
Rep: Reputation: 0
Question

Thank you for the excellent explanation. I was wondering about the column
Code:
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       280
I assume that the normalized value has reached 100 in 280 hours. So a brand new harddisk should have a value of 253. At this rate, in about 465 hours of operation, my hard disk should reach the end of life cycle... Just 19 days of 24x7 operation... Looks impractical... Where have I gone wrong? Can I predict the failure or the life of a hard disk?
 
Old 09-29-2007, 01:10 PM   #4
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
It's more likely that it 'started out as 100' which is normal, rather than 'reached 100 in 280 hours'.
If you check regularly, you will see also that the 'Hours of Operation' value wraps around too, so is not a practical indicator of the age of the drive, nor useful in trying to calculate its life expectancy.
 
Old 04-07-2008, 10:32 PM   #5
cam34
Member
 
Registered: Aug 2003
Distribution: OpenSuse 11.1, SLES10, Fedora 11 & XP 4 Gaming *sniffs
Posts: 101

Rep: Reputation: 16
Thanks for this post - I was worried about this line
Code:
1 Raw_Read_Error_Rate     0x000f   068   056   006    Pre-fail  Always       -       105797684
But supposedly Im ok

Thanks - I Hope
 
  


Reply

Tags
disk, error, hard, hdd, sata, seagate


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
running a command with paramaters it obtains from a file eNtoS Linux - Newbie 3 06-13-2006 05:49 PM
Shell dislpay paramaters dpvone Linux - Enterprise 3 06-08-2006 12:36 PM
kernel paramaters for install sh4d0w13 Debian 3 03-11-2005 02:32 PM
Strange Hanging on First boot, Config Kernel Paramaters, FC3 LinuxFox Fedora - Installation 6 03-06-2005 10:44 PM
Low Harddisk space. Can I just transfer the entire Linux to a bigger harddisk? davidas Linux - Newbie 12 04-13-2004 02:03 AM


All times are GMT -5. The time now is 12:16 PM.

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