[CentOS] Failing Hard Disk?

Tue Oct 6 18:25:48 UTC 2009
Stewart Williams <lists at pinkyboots.co.uk>

Hi All,

I am fairly certain that this disk is failing in my server, and I am
replacing it straight away anyway.

However, I'd appreciate the views of the list just to be sure as I value
your opinion(s).

I got these errors, once only so far, in /var/log/messages. This disk
has / on it.

Oct  5 08:34:47 server1 kernel: ata1.00: exception Emask 0x0 SAct 0x7
SErr 0x0 action 0x0
Oct  5 08:34:47 server1 kernel: ata1.00: irq_stat 0x40000001
Oct  5 08:34:47 server1 kernel: ata1.00: cmd
60/f8:00:b9:1e:71/00:00:14:00:00/40 tag 0 ncq 126976 in
Oct  5 08:34:47 server1 kernel:          res
41/40:00:40:1f:71/a0:00:14:00:00/00 Emask 0x409 (media error) <F>
Oct  5 08:34:47 server1 kernel: ata1.00: status: { DRDY ERR }
Oct  5 08:34:47 server1 kernel: ata1.00: error: { UNC }
Oct  5 08:34:47 server1 kernel: ata1.00: cmd
60/08:08:b1:1f:71/00:00:14:00:00/40 tag 1 ncq 4096 in
Oct  5 08:34:47 server1 kernel:          res
41/04:f8:40:1f:71/00:00:14:00:00/00 Emask 0x1 (device error)
Oct  5 08:34:47 server1 kernel: ata1.00: status: { DRDY ERR }
Oct  5 08:34:47 server1 kernel: ata1.00: error: { ABRT }
Oct  5 08:34:47 server1 kernel: ata1.00: cmd
60/00:10:b9:1f:71/01:00:14:00:00/40 tag 2 ncq 131072 in
Oct  5 08:34:47 server1 kernel:          res
41/04:f8:40:1f:71/00:00:14:00:00/00 Emask 0x1 (device error)
Oct  5 08:34:47 server1 kernel: ata1.00: status: { DRDY ERR }
Oct  5 08:34:53 server1 kernel: ata1.00: error: { ABRT }
Oct  5 08:34:54 server1 kernel: ata1.00: configured for UDMA/133
Oct  5 08:34:58 server1 kernel: ata1: EH complete
Oct  5 08:35:02 server1 kernel: SCSI device sda: 488397168 512-byte hdwr
sectors (250059 MB)
Oct  5 08:35:06 server1 kernel: sda: Write Protect is off
Oct  5 08:35:13 server1 kernel: SCSI device sda: drive cache: write through

I am also getting these errors every 30 minutes:

Oct  5 06:22:06 server1 smartd[3118]: Device: /dev/sda, 12 Offline
uncorrectable sectors

Below is the smart selftest log:

smartctl version 5.38 [x86_64-redhat-linux-gnu] Copyright (C) 2002-8
Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model:     GB0250C8045
Serial Number:    9SF0H82R
Firmware Version: HPG2
User Capacity:    250,059,350,016 bytes
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   7
ATA Standard is:  ATA/ATAPI-7 T13 1532D revision 4a
Local Time is:    Tue Oct  6 18:58:31 2009 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:  (0x82)	Offline data collection activity
					was completed without error.
					Auto Offline Data Collection: Enabled.
Self-test execution status:      ( 121)	The previous self-test completed
having
					the read element of the test failed.
Total time to complete Offline
data collection: 		 ( 625) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					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: 	 (  58) minutes.
Conveyance self-test routine
recommended polling time: 	 (   3) minutes.
SCT capabilities: 	       (0x103f)	SCT Status supported.
					SCT Feature Control supported.
					SCT Data Table supported.

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   062   061   044    Pre-fail  Always
      -       173060773
  3 Spin_Up_Time            0x0003   099   099   000    Pre-fail  Always
      -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always
      -       17
  5 Reallocated_Sector_Ct   0x0033   089   089   036    Pre-fail  Always
      -       243
  7 Seek_Error_Rate         0x000f   074   060   030    Pre-fail  Always
      -       27793554
  9 Power_On_Hours          0x0032   094   094   000    Old_age   Always
      -       5695
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always
      -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always
      -       17
184 Unknown_Attribute       0x0033   100   100   003    Pre-fail  Always
      -       0
187 Reported_Uncorrect      0x0032   099   099   000    Old_age   Always
      -       1
188 Unknown_Attribute       0x0032   100   100   000    Old_age   Always
      -       0
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always
      -       0
190 Airflow_Temperature_Cel 0x0022   071   064   045    Old_age   Always
      -       29 (Lifetime Min/Max 18/36)
194 Temperature_Celsius     0x0022   029   040   000    Old_age   Always
      -       29 (0 9 0 0)
195 Hardware_ECC_Recovered  0x001a   038   026   000    Old_age   Always
      -       173060773
196 Reallocated_Event_Count 0x0033   089   089   036    Pre-fail  Always
      -       243
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always
      -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age
Offline      -       24
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always
      -       0

SMART Error Log Version: 1
ATA Error Count: 1
	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 1 occurred at disk power-on lifetime: 5660 hours (235 days + 20 hours)
  When the command that caused the error occurred, the device was active
or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 00 f8 ff ff ff 4f 00  36d+00:05:49.464  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00  36d+00:05:49.438  READ FPDMA QUEUED
  61 00 08 59 d0 09 40 00  36d+00:05:49.430  WRITE FPDMA QUEUED
  61 00 18 41 d0 09 40 00  36d+00:05:49.417  WRITE FPDMA QUEUED
  60 00 08 ff ff ff 4f 00  36d+00:05:48.810  READ FPDMA QUEUED

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining
LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed: read failure       90%      5689
     526673
# 2  Extended offline    Completed: read failure       90%      5685
     526673

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.

Thanks for any advice in advance.