系统:Centos 5.5 64bit
RAID: Linux Soft RAID with 2 Disks Mirror
Smartd 在系统日志中抱怨磁盘故障:
[root@xxx ~]# tail /var/log/messages
Jul 3 10:22:45 w11 smartd[6043]: Device: /dev/sda, FAILED SMART self-check. BACK UP DATA NOW!
Jul 3 10:52:45 w11 smartd[6043]: Device: /dev/sda, FAILED SMART self-check. BACK UP DATA NOW!
Jul 3 11:22:45 w11 smartd[6043]: Device: /dev/sda, FAILED SMART self-check. BACK UP DATA NOW!
Jul 3 11:52:45 w11 smartd[6043]: Device: /dev/sda, FAILED SMART self-check. BACK UP DATA NOW!
Run Code Online (Sandbox Code Playgroud)
抱歉,但我现在该怎么办?
我有一个需要更换缓存电池的 proliant 服务器。
如果随着时间的推移不更换,您能否告知有什么影响。非常感谢
我用命令测试了我的硬盘:
smartctl -t long /dev/sda
Run Code Online (Sandbox Code Playgroud)
我用命令检查了测试的状态:
smartctl -l 自检 /dev/sda
这是输出:
smartctl 5.42 2011-10-20 r3458 [x86_64-linux-2.6.18-348.3.1.el5] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF READ SMART DATA SECTION ===
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 80% 6685 353374938
# 2 Short offline Completed without error 00% 6662 -
# 3 Extended offline Completed: read failure 80% 6658 353374929
# 4 Short offline …Run Code Online (Sandbox Code Playgroud) 具体来说,系统内存故障会导致硬盘 SMART 故障吗?硬盘连接器坏了会不会导致 SMART 故障?
我有一个半旧的硬盘(磁性硬盘,不是固态硬盘),我打算将它用作新 NAS 的系统驱动器。
所以我在它上面运行了 SMART 自测,它以“已完成:读取失败”状态结束。但是,badblock 在驱动器上完成了破坏性测试(因此 4 次通过)而没有错误。这两个程序中哪个更可能是正确的?
查看日志我看到几个错误。智能状态为 PASSED,但即使它很详细,也不清楚发生了什么。是否应该更换磁盘?
附加 dmesg 和智能日志
# dmesg
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: BMDMA stat 0x64
ata1.00: failed command: READ DMA EXT
ata1.00: cmd 25/00:08:61:5d:64/00:00:5f:00:00/e0 tag 0 dma 4096 in
res 51/40:00:63:5d:64/40:00:5f:00:00/00 Emask 0x9 (media error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { UNC }
ata1.00: configured for UDMA/133
sd 0:0:0:0: [sda] Unhandled sense code
sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 0:0:0:0: [sda] Sense Key : Medium Error [current] [descriptor]
Descriptor sense …Run Code Online (Sandbox Code Playgroud)