Chinaunix首页 | 论坛 | 博客
  • 博客访问: 92906
  • 博文数量: 50
  • 博客积分: 982
  • 博客等级: 准尉
  • 技术积分: 280
  • 用 户 组: 普通用户
  • 注册时间: 2011-02-16 12:19
文章分类

全部博文(50)

文章存档

2012年(5)

2011年(45)

我的朋友

分类: LINUX

2011-02-24 14:30:26

 

 

  === 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物理教授。我是因为文章写的比自己的笔记好百倍,所以决定参考一些原文的例子和顺序。

阅读(928) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~