RAID 故障——驱动器存在物理缺陷?

RAID 故障——驱动器存在物理缺陷?

我们在树莓派上使用 RAID 1,似乎(从 /proc/mdstat 的输出来看)其中一个设备不见了:

mschnick@pi3:~ $ sudo cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sdb1[1](F) sda1[2]
      976629760 blocks super 1.2 [2/1] [U_]
      bitmap: 8/8 pages [32KB], 65536KB chunk

unused devices: <none>

但是,fdisk 和 lsusb 中都存在“损坏”/故障的设备。在 smartctl 上检查后,它似乎也完好无损。

=== START OF READ SMART DATA SECTION ===
SMART Status not supported: Incomplete response, ATA output registers    missing
SMART overall-health self-assessment test result: PASSED
Warning: This result is based on an Attribute check.


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   050    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0005   100   100   050    Pre-fail  Offline      -       0
  3 Spin_Up_Time            0x0027   100   100   001    Pre-fail  Always       -       2988
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       25163
  5 Reallocated_Sector_Ct   0x0033   100   100   050    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000b   100   100   050    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   100   100   050    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0032   077   077   000    Old_age   Always       -       9300
 10 Spin_Retry_Count        0x0033   253   100   030    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       31
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       9
193 Load_Cycle_Count        0x0032   085   085   000    Old_age   Always       -       152088
194 Temperature_Celsius     0x0022   100   100   000    Old_age   Always       -       33 (Min/Max 22/50)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   253   000    Old_age   Always       -       0
220 Disk_Shift              0x0002   100   100   000    Old_age   Always       -       4101
222 Loaded_Hours            0x0032   092   092   000    Old_age   Always       -       3439
223 Load_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
224 Load_Friction           0x0022   100   100   000    Old_age   Always       -       0
226 Load-in_Time            0x0026   100   100   000    Old_age   Always       -       178
240 Head_Flying_Hours       0x0001   100   100   001    Pre-fail  Offline      -       0

因此,根据所有信息,似乎该驱动器可用,但 mdadm 无法接受该驱动器。

在网上搜索有用的信息没有成功,主要是因为我无法用简洁的语言表达问题。

我应该采取哪些后续措施?我是否必须更换驱动器,还是问题出在其他地方?

我很感激任何指明正确方向的建议。

迈克尔

相关内容