linux检查pre fail,FreeBSD/Linux检测硬盘坏道4

=== START OF READ SMART DATA SECTION ===

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 062 Pre-fail Always

- 0

2 Throughput_Performance 0x0005 100 100 040 Pre-fail Offline

- 0

3 Spin_Up_Time 0x0007 113 113 033 Pre-fail Always

- 1

4 Start_Stop_Count 0x0012 100 100 000 Old_age Always

- 985

5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail Always

- 0

7 Seek_Error_Rate 0x000b 100 100 067 Pre-fail Always

- 0

8 Seek_Time_Performance 0x0005 100 100 040 Pre-fail Offline

- 0

9 Power_On_Hours 0x0012 097 097 000 Old_age Always

- 1642

10 Spin_Retry_Count 0x0013 100 100 060 Pre-fail Always

- 0

12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always

- 914

191 G-Sense_Error_Rate 0x000a 100 100 000 Old_age Always

- 0

192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always

- 8

193 Load_Cycle_Count 0x0012 096 096 050 Old_age Always

- 45262

196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always

- 17

197 Current_Pending_Sector 0x0022 100 100 000 Old_age Always

- 1

198 Offline_Uncorrectable 0x0008 100 100 000 Old_age Offline

- 0

199 UDMA_CRC_Error_Count 0x000a 200 200 000 Old_age Always

- 0

下面命令给出硬盘历史错误信息(error log),因为篇幅关系我就不给出了。

smartctl -l error /dev/ad0

下面命令给出硬盘自测

smartctl -l selftest /dev/ad0

终止硬盘自测。

smartctl -X /dev/ad0

建议:改写设置文件smartd.conf,有一个“-m”的选项非常有用,它可以把信息用

mail发给你。

编辑后记:

SMART 可以提醒你,但不能帮你做备份。要真正的让SMART为你服务,应该好好读写smartd & smartd.conf 的注释, 让其后台程序在一定情况下提醒你(mail)有些关键值达到了危险区域, 以上给出的几个命令是在你开始感到情况不妙的时候进行的手工测试。本文参考了英文杂志“Linux Journal January 2004" - Monitor drive health with SMART, 作者是Bruce Allen物理教授。我是因为文章写的比自己的笔记好百倍,所以决定参考一些原文的例子和顺序。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值