smartctl -l errot 有错误 怎么解决呢?
[root@haowan local]# smartctl -l error /dev/sda
bash: smartctl: command not found
[root@haowan local]# sbin/smartctl -l error /dev/sda
smartctl 5.39.1 2010-01-28 r3054 [i686-pc-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net
Error counter log:
Errors Corrected by Total Correction Gigabytes Total
ECC rereads/ errors algorithm processed uncorrected
fast | delayed rewrites corrected invocations [10^9 bytes] errors
read: 0 37 0 0 0 29996.699 0
write: 0 1 0 0 0 5331.296 0
Non-medium error count: 459
[root@haowan local]# sbin/smartctl -l error /dev/sdb
smartctl 5.39.1 2010-01-28 r3054 [i686-pc-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net
Error counter log:
Errors Corrected by Total Correction Gigabytes Total
ECC rereads/ errors algorithm processed uncorrected
fast | delayed rewrites corrected invocations [10^9 bytes] errors
read: 10447977 0 1 10447978 10447989 196224.676 0
write: 0 0 0 0 0 3571.321 0
Non-medium error count: 11509
[GLTSD (Global Logging Target Save Disable) set. Enable Save with '-S on']
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
一个样
用这个绝对路径去解析 /usr/local/sbin/smartctl
不理解??
smartctl的路径
[root@haowan root]# whereis smartctl
smartctl: /usr/local/sbin/smartctl
指定该命令的路径smartctl -l errot