それと、smartmontools もちょっと…
こんな感じになる
paraches@debian:/var/log$ sudo smartctl -a /dev/sda smartctl version 5.36 [x86_64-unknown-linux-gnu] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ Device: ATA GB0160CAABV Version: n/a Serial number: 6RX5JJ4H Device type: disk Local Time is: Sun Sep 21 04:18:24 2008 JST Device does not support SMART Error Counter logging not supported [GLTSD (Global Logging Target Save Disable) set. Enable Save with '-S on'] Device does not support Self Test logging paraches@debian:/var/log$
なんで Device does not support SMART なの?
で、ググったらココにあった。SATA だと SCSI に勘違いするらしい。別に ML115 G5 だからって訳じゃないのね。
じゃぁ smartd は?
paraches@debian:~$ sudo /etc/init.d/smartmontools start Starting S.M.A.R.T. daemon: smartd failed!
というわけで、やっぱり駄目。
結局 /etc/smartd.conf をちょこっと書き換えた。
#DEVICESCAN -m root -M exec /usr/share/smartmontools/smartd-runner # Linux-specific example: monitor a SATA (Serial ATA) disk which uses # the libata driver. This requires a Linux 2.6.15 or later kernel. # Note that the disk is addressed via a SCSI device, but the # underlying disk type is actually ATA # /dev/sda -a -d ata /dev/sda -a -d ata /dev/sdb -a -d ata
DEVICESCAN の行をコメントにして、実際に確認する HDD を1つづつ設定してあげる。
これで smartd も起動できた!
paraches@debian:/var/log$ sudo /etc/init.d/smartmontools start Starting S.M.A.R.T. daemon: smartd.
というわけで、まだ全部終わった訳じゃないけど、無事にサーバは稼働を始めたぞ!