[TynesideLUG] Failing Hard Drive

Derek Frost derek at derekfrost.co.uk
Sun Oct 25 18:10:00 UTC 2020


Hi Alan,

Apparently the main things to look at are:

     SMART 5 - Reallocated_Sector_Count.
     SMART 187 - Reported_Uncorrectable_Errors.
     SMART 188 - Command_Timeout.
     SMART 197 - Current_Pending_Sector_Count.
     SMART 198 - Offline_Uncorrectable

I've noticed some drives don't have 187/188. Power on time (9) is also 
important. This is saying 908h+05m which is very low for an HDD. There 
are 8760 or so hour in a year so this is only 5 weeks or so of power up 
time. I've also found that drives that spin down to save power still 
count this in the power on hours.

Here is an article I found:

https://www.computerworld.com/article/2846009/the-5-smart-stats-that-actually-predict-hard-drive-failure.html

Hard drive failure usually means clicking noises (Micro stepping to try 
and recover data from corrupted sectors) or just an error saying the 
disk isn't accessible. Have you checked the power/data connectors are 
seated fully? Leaving a machine power on for a few hours can also help 
drive moisture out of dusty machines too.

Regards, Derek

On 25/10/2020 17:40, Alan Page wrote:
> Hello All
> Is there anyone out there experienced in divining the output from a Hard Drive S.M.A.R.T. test?
> I am running an old WinXP era tower PC which is increasingly problematic to boot. When I turn it on, sometimes it will boot right away, but increasingly it takes several attempts - power goes on but HD does not seem to respond.
> Although it is now running the latest Manjaro, the same problem was happening when it ran Peppermint or Slackware instead, so appears independant of OS.
> Here is the bash output from the test:
> //[alan-freelineseries ~]# smartctl -a /dev/sda
> smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.8.16-2-MANJARO] (local build)
> Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
> 
> === START OF INFORMATION SECTION ===
> Model Family:     Maxtor DiamondMax 10 (ATA/133 and SATA/150)
> Device Model:     Maxtor 6L300S0
> Serial Number:    L601YF0G
> Firmware Version: BANC1G10
> User Capacity:    300,090,728,448 bytes [300 GB]
> Sector Size:      512 bytes logical/physical
> Device is:        In smartctl database [for details use: -P show]
> ATA Version is:   ATA/ATAPI-7 T13/1532D revision 0
> Local Time is:    Sat Oct 24 17:13:35 2020 BST
> SMART support is: Available - device has SMART capability.
> SMART support is: Enabled
> 
> === START OF READ SMART DATA SECTION ===
> SMART overall-health self-assessment test result: PASSED
> 
> General SMART Values:
> Offline data collection status:  (0x80)    Offline data collection activity
>                      was never started.
>                      Auto Offline Data Collection: Enabled.
> Self-test execution status:      (   0)    The previous self-test routine completed
>                      without error or no self-test has ever
>                      been run.
> Total time to complete Offline
> data collection:         ( 2283) seconds.
> Offline data collection
> capabilities:              (0x5b) SMART execute Offline immediate.
>                      Auto Offline data collection on/off support.
>                      Suspend Offline collection upon new
>                      command.
>                      Offline surface scan supported.
>                      Self-test supported.
>                      No Conveyance Self-test supported.
>                      Selective Self-test supported.
> SMART capabilities:            (0x0003)    Saves SMART data before entering
>                      power-saving mode.
>                      Supports SMART auto save timer.
> Error logging capability:        (0x01)    Error logging supported.
>                      General Purpose Logging supported.
> Short self-test routine
> recommended polling time:      (   2) minutes.
> Extended self-test routine
> recommended polling time:      ( 118) minutes.
> SCT capabilities:            (0x0021)    SCT Status supported.
>                      SCT Data Table supported.
> 
> SMART Attributes Data Structure revision number: 16
> Vendor Specific SMART Attributes with Thresholds:
> ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
>    3 Spin_Up_Time            0x0027   179   178   063    Pre-fail  Always       -       16421
>    4 Start_Stop_Count        0x0032   253   253   000    Old_age   Always       -       1504
>    5 Reallocated_Sector_Ct   0x0033   253   253   063    Pre-fail  Always       -       0
>    6 Read_Channel_Margin     0x0001   253   253   100    Pre-fail  Offline      -       0
>    7 Seek_Error_Rate         0x000a   253   252   000    Old_age   Always       -       0
>    8 Seek_Time_Performance   0x0027   248   237   187    Pre-fail  Always       -       34341
>    9 Power_On_Minutes        0x0032   245   245   000    Old_age   Always       -       908h+05m
>   10 Spin_Retry_Count        0x002b   253   252   157    Pre-fail  Always       -       0
>   11 Calibration_Retry_Count 0x002b   253   252   223    Pre-fail  Always       -       0
>   12 Power_Cycle_Count       0x0032   250   250   000    Old_age   Always       -       1503
> 192 Power-Off_Retract_Count 0x0032   253   253   000    Old_age   Always       -       0
> 193 Load_Cycle_Count        0x0032   253   253   000    Old_age   Always       -       0
> 194 Temperature_Celsius     0x0032   054   253   000    Old_age   Always       -       39
> 195 Hardware_ECC_Recovered  0x000a   253   251   000    Old_age   Always       -       5177
> 196 Reallocated_Event_Count 0x0008   253   253   000    Old_age   Offline      -       0
> 197 Current_Pending_Sector  0x0008   253   253   000    Old_age   Offline      -       0
> 198 Offline_Uncorrectable   0x0008   253   253   000    Old_age   Offline      -       0
> 199 UDMA_CRC_Error_Count    0x0008   199   199   000    Old_age   Offline      -       0
> 200 Multi_Zone_Error_Rate   0x000a   253   252   000    Old_age   Always       -       0
> 201 Soft_Read_Error_Rate    0x000a   253   252   000    Old_age   Always       -       0
> 202 Data_Address_Mark_Errs  0x000a   253   252   000    Old_age   Always       -       0
> 203 Run_Out_Cancel          0x000b   253   252   180    Pre-fail  Always       -       0
> 204 Soft_ECC_Correction     0x000a   253   252   000    Old_age   Always       -       0
> 205 Thermal_Asperity_Rate   0x000a   253   252   000    Old_age   Always       -       0
> 207 Spin_High_Current       0x002a   253   252   000    Old_age   Always       -       0
> 208 Spin_Buzz               0x002a   253   252   000    Old_age   Always       -       0
> 209 Offline_Seek_Performnce 0x0024   242   242   000    Old_age   Offline      -       139
> 210 Unknown_Attribute       0x0032   253   252   000    Old_age   Always       -       0
> 211 Unknown_Attribute       0x0032   253   252   000    Old_age   Always       -       0
> 212 Unknown_Attribute       0x0032   253   252   000    Old_age   Always       -       0
> 
> SMART Error Log Version: 1
> ATA Error Count: 2
>      CR = Command Register [HEX]
>      FR = Features Register [HEX]
>      SC = Sector Count Register [HEX]
>      SN = Sector Number Register [HEX]
>      CL = Cylinder Low Register [HEX]
>      CH = Cylinder High Register [HEX]
>      DH = Device/Head Register [HEX]
>      DC = Device Command Register [HEX]
>      ER = Error register [HEX]
>      ST = Status register [HEX]
> Powered_Up_Time is measured from power on, and printed as
> DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
> SS=sec, and sss=millisec. It "wraps" after 49.710 days.
> 
> Error 2 occurred at disk power-on lifetime: 1907 hours (79 days + 11 hours)
>    When the command that caused the error occurred, the device was in an unknown state.
> 
>    After command completion occurred, registers were:
>    ER ST SC SN CL CH DH
>    -- -- -- -- -- -- --
>    01 00 08 52 0c aa e6   8 sectors at LBA = 0x06aa0c52 = 111807570
> 
>    Commands leading to the command that caused the error were:
>    CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
>    -- -- -- -- -- -- -- --  ----------------  --------------------
>    c8 00 08 50 0c aa e6 00      00:02:20.648  READ DMA
>    ea 00 00 3f 60 04 a0 00      00:02:20.622  FLUSH CACHE EXT
>    35 00 08 38 60 04 e0 00      00:02:20.622  WRITE DMA EXT
>    ea 00 00 4f 0c aa a0 00      00:02:20.564  FLUSH CACHE EXT
>    c8 00 08 48 0c aa e6 00      00:02:20.564  READ DMA
> 
> Error 1 occurred at disk power-on lifetime: 1907 hours (79 days + 11 hours)
>    When the command that caused the error occurred, the device was in an unknown state.
> 
>    After command completion occurred, registers were:
>    ER ST SC SN CL CH DH
>    -- -- -- -- -- -- --
>    01 00 00 52 0c aa e0   at LBA = 0x00aa0c52 = 11144274
> 
>    Commands leading to the command that caused the error were:
>    CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
>    -- -- -- -- -- -- -- --  ----------------  --------------------
>    25 00 00 00 0c aa e0 00      00:02:05.727  READ DMA EXT
>    c8 00 00 40 70 d4 e1 00      00:02:05.726  READ DMA
>    c8 00 20 40 05 d3 e1 00      00:02:05.713  READ DMA
>    c8 00 78 30 68 d4 e1 00      00:02:05.713  READ DMA
>    c8 00 e0 40 ab 58 e0 00      00:02:05.712  READ DMA
> 
> SMART Self-test log structure revision number 1
> Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
> # 1  Short offline       Completed without error       00%         0         -
> 
> SMART Selective self-test log data structure revision number 1
>   SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
>      1        0        0  Not_testing
>      2        0        0  Not_testing
>      3        0        0  Not_testing
>      4        0        0  Not_testing
>      5        0        0  Not_testing
> Selective self-test flags (0x0):
>    After scanning selected spans, do NOT read-scan remainder of disk.
> If Selective self-test is pending on power-up, resume after 0 minute delay.
> 
> [alan-freelineseries ~]#//
> Although it initially reports that it passed the self test, further down are a couple of fails, which quote 79 days and 11 hours - so precise!
> So, is it telling me that this drive has 79 days left before it finally falls over? Or is it better put another way?
> Thanks in anticipationConfused of Cramlington
> (AKA Alan)
> _______________________________________________
> Tyneside mailing list
> Tyneside at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/tyneside
> 

-- 
If you are not the intended recipient of this e-mail, please accept my 
apologies. In this case the contents and attachments are confidential 
and must not be used, copied, or distributed. Indeed it may be unlawful 
to do so.



More information about the Tyneside mailing list