OMV自带的smart设备信息的坑及解决2019-04-15
2019-04-15 本文已影响0人
龙天ivan
问题:
omv自带的smart设备信息用西部数据硬盘的时候有坑,每次点设备信息时,都会莫名增加一个ata错误
Error 7 occurred at disk power-on lifetime: 33 hours (1 days + 9 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 51 01 00 00 00 00 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
-- -- -- -- -- -- -- -- ---------------- --------------------
b0 d5 01 e1 4f c2 00 08 00:21:46.061 SMART READ LOG
b0 d6 01 e0 4f c2 00 08 00:21:46.061 SMART WRITE LOG
b0 d6 01 e0 4f c2 00 08 00:21:46.028 SMART WRITE LOG
b0 d5 01 e0 4f c2 00 08 00:21:46.028 SMART READ LOG
image.png
解决办法 :
手工执行如下命令来查看:
smartctl -x /dev/sdx
如果只想简单的查看一下健康状态和错误统计,可以用如下命令:
smartctl -x /dev/sda|grep -E 'result|Error Count|Error.*occurred'
可以添加一个计划任务:
image.png