Western Digital:扇区重定位错误(代码 226)

Western Digital:扇区重定位错误(代码 226)

我有一个几乎全新的西部数据绿能,但保修期已过。它被放在架子上。

我想在使用之前测试一下。

我做的第一步是使用数据救生员工具. 此测试给出错误

0226 Sector Relocation Error

官方推荐是更换硬盘。但是很明显,供应商的动机是销售更多的硬盘。

SMART 状态显示没有重新映射,所以我不知道这里的错误是什么。我想知道是否有办法重新映射有问题的扇区?

更新: 聪明的

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Green (AF)
Device Model:     WDC WD10EARS-00Y5B1
Serial Number:    WD-WCAV********
LU WWN Device Id: 5 0014ee 259379483
Firmware Version: 80.00A80
User Capacity:    1,000,204,886,016 bytes [1.00 TB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Fri Nov 22 12:52:42 2013 UTC
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:        (20100) 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:    ( 231) minutes.
Conveyance self-test routine
recommended polling time:    (   5) minutes.
SCT capabilities:          (0x3031) SCT Status supported.
                    SCT Feature Control 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
  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   167   122   021    Pre-fail  Always       -       4633
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       30
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       23
 10 Spin_Retry_Count        0x0032   100   253   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   253   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       13
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       8
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       21
194 Temperature_Celsius     0x0022   117   103   000    Old_age   Always       -       30
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   200   200   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline      -       0

SMART Error Log Version: 1
Warning: ATA error count 14 inconsistent with error log pointer 5

ATA Error Count: 14 (device log contains only the most recent five errors)
    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 14 occurred at disk power-on lifetime: 22 hours (0 days + 22 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
  -- -- -- -- -- -- --
  04 61 46 00 00 00 40  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 03 46 00 00 00 40 00      04:30:32.893  SET FEATURES [Set transfer mode]
  ef 03 46 00 00 00 40 00      04:30:32.892  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 40 00      04:30:32.890  IDENTIFY DEVICE
  70 00 00 00 00 00 40 00      04:27:11.365  SEEK [OBS-7]
  ec 00 00 00 00 00 40 00      04:27:11.362  IDENTIFY DEVICE

Error 13 occurred at disk power-on lifetime: 22 hours (0 days + 22 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
  -- -- -- -- -- -- --
  04 61 46 00 00 00 40  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 03 46 00 00 00 40 00      04:30:32.892  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 40 00      04:30:32.890  IDENTIFY DEVICE
  70 00 00 00 00 00 40 00      04:27:11.365  SEEK [OBS-7]
  ec 00 00 00 00 00 40 00      04:27:11.362  IDENTIFY DEVICE
  70 00 00 00 00 00 40 00      04:26:15.054  SEEK [OBS-7]

Error 12 occurred at disk power-on lifetime: 22 hours (0 days + 22 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
  -- -- -- -- -- -- --
  04 61 00 00 00 00 40

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  70 00 00 00 00 00 40 00      04:27:11.365  SEEK [OBS-7]
  ec 00 00 00 00 00 40 00      04:27:11.362  IDENTIFY DEVICE
  70 00 00 00 00 00 40 00      04:26:15.054  SEEK [OBS-7]
  ec 00 00 00 00 00 40 00      04:26:15.052  IDENTIFY DEVICE
  70 00 00 00 00 00 40 00      04:24:33.301  SEEK [OBS-7]

Error 11 occurred at disk power-on lifetime: 22 hours (0 days + 22 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
  -- -- -- -- -- -- --
  04 61 00 00 00 00 40

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  70 00 00 00 00 00 40 00      04:26:15.054  SEEK [OBS-7]
  ec 00 00 00 00 00 40 00      04:26:15.052  IDENTIFY DEVICE
  70 00 00 00 00 00 40 00      04:24:33.301  SEEK [OBS-7]
  ec 00 00 00 00 00 40 00      04:24:33.298  IDENTIFY DEVICE

Error 10 occurred at disk power-on lifetime: 22 hours (0 days + 22 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
  -- -- -- -- -- -- --
  04 61 00 00 00 00 40

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  70 00 00 00 00 00 40 00      04:24:33.301  SEEK [OBS-7]
  ec 00 00 00 00 00 40 00      04:24:33.298  IDENTIFY DEVICE

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Conveyance offline  Completed without error       00%        22         -
# 2  Conveyance offline  Completed without error       00%        18         -

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.

答案1

您所参考的 WD 网页对错误 226 的含义说明得非常清楚:

226 扇区重新定位错误

驱动器修复期间无法重新定位扇区。必须更换驱动器。

所有磁盘都有一个小型扇区池back-up,用于在 HDD 使用寿命的两个不同阶段替换坏扇区,首先是在制造期间,然后是在正常磁盘操作期间。当发现坏扇区时,它会被标记为有缺陷并因此停用,并用备用池中的功能扇区替换。此时,备用池扇区将按re-mapped逻辑顺序出现在与停用扇区完全相同的位置。

值得一提的是,这些缺陷甚至在制造过程完成后立即出现,而这些恢复机制的有效性恰恰证明了我们大多数人根本不知道缺陷的存在和恢复策略。换句话说,我们所有人一直都在使用部分有缺陷的磁盘。

然而,在某个时候,备用池会耗尽,无法进行重新定位或重新映射。发生这种情况时,将发生数据丢失。如果关键位置的扇区发生故障(任何 HDD 上都有链接列表),整个磁盘上的大部分(如果不是全部)数据实际上都会丢失,或者可能只需要付出一些努力才能恢复。无论如何,即使故障没有发生在关键扇区,也会导致某种数据丢失。

这就是为什么 WD 建议更换磁盘是合理的;您的磁盘仍然可以正常使用,但目前还不行。制造商的信息基本上是一个you have been warned信号。

答案2

您应该尝试缩小分区,并确定是否必须在分区的开头或结尾处这样做。这是为了避免无法用备份扇区(不存在)替换的坏扇区。

相关内容