Hard drive troubleshooting

Dave Johnson dave-gnhlug at davej.org
Thu May 11 08:39:01 EDT 2006


Ted Roche writes:
> In /var/log/messages, smartd is reporting:
> 
> Device: /de/hdb, 3 Currently unreadable (pending) sectors
> 
> I'm trying to figure out where they are and how to fix them or mark  
> them as bad.
> 
> Took the machine down last night and ran SpinRite 6 on it. It  
> reported no problems on the drive.
> 
> Ran the smartctl tests, both short and long, and they finished  
> without errors.

My laptop HD developed the same problem a few years ago.  smartd keeps
reporting pending sectors.  After a few years nothing seems to be bad
and the HD keeps on working, however backups are always a good idea.


intrepid:~# grep unreadable /var/log/syslog
May 11 08:34:43 intrepid smartd[1557]: Device: /dev/hda, 7 Currently unreadable (pending) sectors 


intrepid:~# smartctl -iA /dev/hda
smartctl version 5.32 Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model:     IBM-DJSA-220
Serial Number:    44W4ZNF4226
Firmware Version: JS4OAC0A
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   5
ATA Standard is:  ATA/ATAPI-5 T13 1321D revision 1
Local Time is:    Thu May 11 08:34:53 2006 EDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
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
  1 Raw_Read_Error_Rate     0x000b   100   100   062    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0005   105   105   040    Pre-fail  Offline      -       6041
  3 Spin_Up_Time            0x0007   128   128   033    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0012   091   091   000    Old_age   Always       -       14316
  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000b   100   100   067    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   095   095   040    Pre-fail  Offline      -       142
  9 Power_On_Hours          0x0012   093   093   000    Old_age   Always       -       3124
 10 Spin_Retry_Count        0x0013   100   100   060    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       1372
191 G-Sense_Error_Rate      0x000a   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       2
193 Load_Cycle_Count        0x0012   092   092   050    Old_age   Always       -       86909
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       27
197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       7      <-------HERE--------
198 Offline_Uncorrectable   0x0008   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x000a   200   200   000    Old_age   Always       -       0

intrepid:~# 

-- 
Dave




More information about the gnhlug-discuss mailing list