間違いだらけの備忘録

このページの内容は無保証でありこのページの内容によって直接、または間接に損害を受けられたとしても私は責任を取りません。

2014-11-05から1日間の記事一覧

ディスク異常の確認

dmesg | egrep "exception Emask|failed command|Unrecovered read error|I/O error"参考 http://kledgeb.blogspot.jp/2013/07/ubuntu-6-hdd.html cat /etc/cron.daily/chkdmesg.sh #!/bin/bash cd `/usr/bin/dirname $0` dmesg | egrep "exception Emask|fa…

smart情報確認

cat bin/smartchk.sh cd `dirname $0` if [ $# -ne 1 ]; then echo $0" need disk device" exit 1 fi smartctl -A $1 | awk '$2=="Raw_Read_Error_Rate"||$2=="Reallocated_Sector_Ct"||$2=="Reallocated_Event_Count"||$2=="Current_Pending_Sector"||$2=="…

このページにはhatena以外のサービスからのコンテンツが埋め込まれています。 hatenaによりGoogle AdSense 広告が埋め込まれています。