服务器硬件检测

http://linux.chinaunix.net/techdoc/net/2007/08/08/964824.shtml

============================== 硬盘磁道检测

http://smartmontools.sourceforge.net

#wget http://jaist.dl.sourceforge.net/sourceforge/smartmontools/smartmontools-5.33-1.i386.rpm
#rpm –ivh /smartmontools-5.33-1.i386.rpm
软件安装后会在/usr/local/ 目录下产生程序:smartctl

先检测硬盘和主板是否支持SMART技术:
smartctl -i /dev/hda7



1-202行代表硬盘的不同物理性能。纵列代表硬盘的逻辑状态。
FLAG是标记,标准数值(VALUE)应当小于或等於关键值(THRESH)。

WHEN_FAILED代表错误信息,图中的WHEN_FAILED纵行是空行,说明硬盘没有故障。

如果WHEN_FAILED显示数字,表明硬盘磁道可能有比较大的坏道。

================================ 一次硬盘异常的记录

测试读写16G,1.2231.2G 时报错。
dd: 
正在读入"/dev/sda3":  输入/ 输出错误
记录了148837+1  的读入
记录了148837+1  的写出
1219276800
字节(1.2 GB) 已复制,120.307  秒,10.1 MB/

real    2m0.325s
user    0m0.045s
sys     0m3.879s

 

 

 

 


 


 

 

猜你喜欢

转载自zhengdl126.iteye.com/blog/1430274
今日推荐