S.M.A.R.T. hard drive monitoring
From NAS-Central Buffalo - The Linkstation Wiki
m |
|||
| Line 27: | Line 27: | ||
7. A more detailed listing of smartmontools commands are available at http://www.linuxjournal.com/node/6983/print. | 7. A more detailed listing of smartmontools commands are available at http://www.linuxjournal.com/node/6983/print. | ||
| + | |||
| + | 8. For LS1 (ppc) with FreeLink Firmware, if you want to view SMART results with Webmin, you need fdisk installed. As debian PowerPC has no fdisk, simply install pmac-fdisk and create a symplink: | ||
| + | |||
| + | <font color=red>apt-get install pmac-fdisk</font> | ||
| + | <font color=red>ln -s /sbin/pmac-fdisk /sbin/fdisk</font> | ||
| + | |||
[[Category:Debian]] | [[Category:Debian]] | ||
Revision as of 20:02, 2 September 2007
Originally by frontalot from linkstationwiki.org
1. Install the SMART monitoring tools:
apt-get install smartmontools
2. I recommend enabling the SMART daemon which will automatically monitor the LinkStation hard drive and report any serious problems. Edit /etc/default/smartmontools:
start_smartd=yes
3. Smartd, the SMART daemon, will now automatically initiate on boot and monitor the hard drive.
4. Now edit the smartd config file, /etc/smartd.conf:
comment out: DEVICESCAN add: /dev/hda -a -H -m root
5. This enables monitoring of /dev/hda only and reports any hardware failures via mail to root. You can also use the following commands:
report drive information: smartctl -i /dev/hda report drive health: smartctl -Hc /dev/hda
6. You can display the temperature of your internal drive (the last number is the current temperature):
smartctl -a /dev/hda | grep 194
7. A more detailed listing of smartmontools commands are available at http://www.linuxjournal.com/node/6983/print.
8. For LS1 (ppc) with FreeLink Firmware, if you want to view SMART results with Webmin, you need fdisk installed. As debian PowerPC has no fdisk, simply install pmac-fdisk and create a symplink:
apt-get install pmac-fdisk ln -s /sbin/pmac-fdisk /sbin/fdisk

