我之前有问题的 RAID10 磁盘之一现在没问题了吗?

我之前有问题的 RAID10 磁盘之一现在没问题了吗?

我收到的消息/var/log/messages似乎表明 /dev/sdc 有问题(除了最后两个之外):

$ sudo grep sdc /var/log/messages
Apr 11 14:05:57 docker smartd[1070]: Device: /dev/sdc [SAT], 56 Currently unreadable (pending) sectors
Apr 11 14:05:57 docker smartd[1070]: Device: /dev/sdc [SAT], 56 Offline uncorrectable sectors
Apr 11 14:35:57 docker smartd[1070]: Device: /dev/sdc [SAT], 56 Currently unreadable (pending) sectors
Apr 11 14:35:57 docker smartd[1070]: Device: /dev/sdc [SAT], 56 Offline uncorrectable sectors
Apr 11 15:05:57 docker smartd[1070]: Device: /dev/sdc [SAT], 56 Currently unreadable (pending) sectors
Apr 11 15:05:57 docker smartd[1070]: Device: /dev/sdc [SAT], 56 Offline uncorrectable sectors
Apr 11 15:35:58 docker smartd[1070]: Device: /dev/sdc [SAT], 56 Currently unreadable (pending) sectors
Apr 11 15:35:58 docker smartd[1070]: Device: /dev/sdc [SAT], 56 Offline uncorrectable sectors
Apr 11 16:05:57 docker smartd[1070]: Device: /dev/sdc [SAT], 56 Currently unreadable (pending) sectors
Apr 11 16:05:57 docker smartd[1070]: Device: /dev/sdc [SAT], 56 Offline uncorrectable sectors
Apr 11 16:35:57 docker smartd[1070]: Device: /dev/sdc [SAT], 56 Currently unreadable (pending) sectors
Apr 11 16:35:57 docker smartd[1070]: Device: /dev/sdc [SAT], 56 Offline uncorrectable sectors
Apr 11 17:05:57 docker smartd[1070]: Device: /dev/sdc [SAT], 56 Currently unreadable (pending) sectors
Apr 11 17:05:57 docker smartd[1070]: Device: /dev/sdc [SAT], 56 Offline uncorrectable sectors
Apr 11 17:35:57 docker smartd[1070]: Device: /dev/sdc [SAT], No more Currently unreadable (pending) sectors, warning condition reset after 1 email
Apr 11 17:35:57 docker smartd[1070]: Device: /dev/sdc [SAT], No more Offline uncorrectable sectors, warning condition reset after 1 email

但是,上面最后两行,还有:

$ cat /proc/mdstat
Personalities : [raid10] 
md0 : active raid10 sdc2[2] sdd2[3] sdh2[7] sda2[0] sdg2[6] sdf2[5] sdb2[1] sde2[4]
      11712147456 blocks super 1.2 512K chunks 2 far-copies [8/8] [UUUUUUUU]
      bitmap: 8/88 pages [32KB], 65536KB chunk

unused devices: <none>

似乎表明 /dev/sdc 不再有问题。

那是对的吗?

答案1

不幸的是没有。

最好的办法是(如有必要)安装 smartmontools。使用它,您可以运行smartctl -a /dev/sdc

警告:忽略它可能会说“通过”,这仅意味着它已成功读取驱动器的 SMART 数据,但这并不意味着没问题。

您想要查看离线无法纠正的原始读取错误和重新分配的扇区。

驱动器可能会出现故障并处于故障边缘,但可以将其重新放入阵列中,但在这种情况下可能会再次出现故障。同样,即使是断电也可能导致阵列不稳定,因此可能没什么大不了的。让我们知道智能数据检查的进展如何。

相关内容