On Monday 10 January 2005 02:37, Paul Hewlett wrote:
:On Monday 10 January 2005 05:00, B. Stia wrote: :
Running 9.2 but don't seem to have any of those files on my system. Is it installed by default ?
B. Stia
Install the smartmontools package from Yast. Use the smartctl command to initially test the disk :
smartctl -t long /dev/hda
You can do this on a running system.
The test is asynchronous. To see if the test has finished type :
smartctl -c /dev/hda | less
Look at some of the ondisk logs :
smartctl -l error | less smartctl -l selftest | less
OK, Installed and ran - Took about 25 minutes. Then ran smartctl -t long /dev/hda Reported no errors or never run before. Then tried to look at the logs for error & selftest and got the following message.(Copied your example into the CLI). ERROR: smartctl requires a device name as the final command-line argument. Something wrong with what I am doing ??
then set up your smartd.conf file. The default file automatically scans your system which is inefficient. Read it to get some examples of usage. My file is :
OK, that will be the next step.
smartd.conf:
# Sample configuration file for smartd. See man smartd.conf.
# Home page is: http://smartmontools.sourceforge.net
# $Id: smartd.conf,v 1.33 2004/01/13 16:53:06 ballen4705 Exp $
# smartd will re-read the configuration file if it receives a HUP # signal
# The file gives a list of devices to monitor using smartd, with one # device per line. Text after a hash (#) is ignored, and you may use # spaces and tabs for white space. You may use '\' to continue lines.
/dev/hda -a -m root -o on -S on -s (S/../.././02|L/../../6/03) -M test /dev/hde -a -m root -o on -S on -s (S/../.././03|L/../../6/05) -M test
End of smartd.conf:
Then make the smartd service permanent
And how/where do I do that. Then run it as a chron ?? Sorry about my ignorance. I think this is very important and would like to have it work. Bob S.