Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Nov 2009 19:24:42 -0800
From:      "Ronald F. Guilmette" <rfg@tristatelogic.com>
To:        Roland Smith <rsmith@xs4all.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Bad Blocks... Should I RMA? 
Message-ID:  <81118.1258601082@tristatelogic.com>
In-Reply-To: <20091116182358.GA95918@slackbox.xs4all.nl> 

next in thread | previous in thread | raw e-mail | index | archive | help

In message <20091116182358.GA95918@slackbox.xs4all.nl>, 
Roland Smith <rsmith@xs4all.nl> wrote:

>On Sun, Nov 15, 2009 at 04:06:55PM -0800, Ronald F. Guilmette wrote:
>>=20
>> In one of my systems, I've got a Seagate SATA 500GB drive (ST3500320AS)
>> which is actually not very old... purchased 12/11/2008.
><snip>
>> same single block.  Here's the relevant lines from /var/log/messages:
>>=20
>> Nov 15 15:24:17 coredump kernel: ad4: FAILURE - READ_DMA status=3D51<READ=
>Y,DSC,ERROR> error=3D40<UNCORRECTABLE> LBA=256230591
>> Nov 15 15:24:43 coredump kernel: ad4: FAILURE - READ_DMA status=3D51<READ=
>Y,DSC,ERROR> error=3D40<UNCORRECTABLE> LBA=256230591
>> Nov 15 15:24:46 coredump kernel: ad4: FAILURE - READ_DMA status=3D51<READ=
>Y,DSC,ERROR> error=3D40<UNCORRECTABLE> LBA=256230591
>>=20
...

>Install the smartmontools port, and check the drive with
>'smartctl -a /dev/ad4'. If you see a non-zero Reallocated_Sector_Ct, RMA it
>immediately, as it is about to fail. If see other errors reported, RMA it.


OK, I went to do this, but first (I figured) I had to umount the drive.
So I did that first and... Yikes!  Just umount'ing it caused an error,
allegedly in LBA sector 0!  Yikes!

Nov 18 19:04:06 coredump kernel: ad4: TIMEOUT - READ_DMA retrying (1 retry left) LBA=0

Ignoring that for the moment, I went ahead and ran smartctl -a /dev/ad4
as you suggested.  Results are attached below.  I have no idea how to
read this stuff, and would be happy to be tutored a bit on this.

But anyway, because of the *new* error I just got (LBA=0) I have decided
now that I *will* RMA the drive back after all.  (Getting an error reading
logical sector zero is just too scary for me!)

Note that the original problematic sector was 256230591, however the
one that Seatools had found to be bad (and had allegedly re-mapped for me)
was 256230614... a number which also appears several times in the report
below.

I don't really understand what I'm looking at here.  If in fact Seatools
did actually "repair" (re-map?) a sector for me, then shouldn't
Reallocated_Sector_Ct have some positive non-zero value?



==============================================================================
smartctl version 5.38 [amd64-portbld-freebsd7.2] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 7200.11
Device Model:     ST3500320AS
Serial Number:    5QM2H3V3
Firmware Version: SD15
User Capacity:    500,107,862,016 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   8
ATA Standard is:  ATA-8-ACS revision 4
Local Time is:    Wed Nov 18 19:12:56 2009 PST
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:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		 ( 650) 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: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 ( 119) minutes.
Conveyance self-test routine
recommended polling time: 	 (   2) minutes.
SCT capabilities: 	       (0x103b)	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   107   100   006    Pre-fail  Always       -       13587485
  3 Spin_Up_Time            0x0003   094   094   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       11
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   100   253   030    Pre-fail  Always       -       186292
  9 Power_On_Hours          0x0032   092   092   000    Old_age   Always       -       7454
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       7
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       61
184 Unknown_Attribute       0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   099   099   000    Old_age   Always       -       1
188 Unknown_Attribute       0x0032   100   099   000    Old_age   Always       -       4295032833
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   058   054   045    Old_age   Always       -       42 (Lifetime Min/Max 42/42)
194 Temperature_Celsius     0x0022   042   046   000    Old_age   Always       -       42 (0 24 0 0)
195 Hardware_ECC_Recovered  0x001a   024   010   000    Old_age   Always       -       13587485
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       1
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       1
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0

SMART Error Log Version: 1
ATA Error Count: 4
	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 4 occurred at disk power-on lifetime: 7381 hours (307 days + 13 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 d6 c4 45 0f  Error: UNC at LBA = 0x0f45c4d6 = 256230614

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  42 00 00 00 c0 45 4f 00      00:21:01.918  READ VERIFY SECTOR(S) EXT
  42 d0 00 00 b0 38 ef 00      00:20:57.686  READ VERIFY SECTOR(S) EXT
  42 d0 00 00 c0 28 ef 00      00:20:52.497  READ VERIFY SECTOR(S) EXT
  42 d0 00 00 d0 18 ef 00      00:20:47.331  READ VERIFY SECTOR(S) EXT
  42 d0 00 00 e0 08 ef 00      00:20:42.180  READ VERIFY SECTOR(S) EXT

Error 3 occurred at disk power-on lifetime: 0 hours (0 days + 0 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 d6 c4 45 0f  Error: UNC at LBA = 0x0f45c4d6 = 256230614

  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 20 bf c4 45 ef 00      00:11:39.184  READ DMA
  ca 00 14 5f 2f 00 e0 00      00:11:39.184  WRITE DMA
  ca 00 20 3f 2f 00 e0 00      00:11:39.183  WRITE DMA
  ca 00 20 1f 2f 00 e0 00      00:11:39.183  WRITE DMA
  ca 00 04 bf 00 00 e0 00      00:11:39.182  WRITE DMA

Error 2 occurred at disk power-on lifetime: 0 hours (0 days + 0 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 d6 c4 45 0f  Error: UNC at LBA = 0x0f45c4d6 = 256230614

  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 20 bf c4 45 ef 00      00:11:36.258  READ DMA
  ca 00 20 9f 82 4b ef 00      00:11:35.521  WRITE DMA
  ca 00 20 7f 82 4b ef 00      00:11:35.521  WRITE DMA
  ca 00 20 df c4 45 ef 00      00:11:35.520  WRITE DMA
  ca 00 40 1f 82 4b ef 00      00:11:13.328  WRITE DMA

Error 1 occurred at disk power-on lifetime: 0 hours (0 days + 0 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 d6 c4 45 0f  Error: UNC at LBA = 0x0f45c4d6 = 256230614

  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 20 bf c4 45 ef 00      00:11:10.133  READ DMA
  ca 00 04 1f c4 45 ef 00      00:11:06.521  WRITE DMA
  ca 00 20 df c4 45 ef 00      00:11:04.521  WRITE DMA
  c8 00 04 5b c4 45 ef 00      00:10:54.453  READ DMA
  ca 00 20 df c4 45 ef 00      00:10:17.522  WRITE DMA

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Aborted by host               60%      7381         -

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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?81118.1258601082>