From: Bruce A. <ba...@gr...> - 2005-10-20 21:54:33
|
Gary, Suggest you delete or comment out DEVICESCAN and just list /dev/hda. Then watch the log output to be sure the device is being monitored and that the scheduled self-tests run. Bruce On Thu, 20 Oct 2005, Gary Smith wrote: > Hi, > > Woops sorry for typo. the file is smartd.conf. > > Not sure if follow your next comment. The contents of the messsage logs > during smartd startup, the following it noted, > > /dev/hda is monitored. hdd is a cdrom. > > Do I need the DEVICESCAN is I have the /dev/hda -a -o on -S on -s > (S/../.././02|L/../../6/03) -m arealemailaddress section in smartd.conf? > > Thanks > > Gary > > Oct 15 01:01:01 xyz smartd[8370]: smartd version 5.33 [i686-redhat-linux-gnu] > Copyright (C) 2002-4 Bruce Allen > Oct 15 01:01:01 xyz smartd[8370]: Home page is > http://smartmontools.sourceforge.net/ > Oct 15 01:01:01 xyz smartd[8370]: Opened configuration file /etc/smartd.conf > Oct 15 01:01:01 xyz smartd[8370]: Drive: DEVICESCAN, implied '-a' Directive > on line 23 of file /etc/smartd.conf > Oct 15 01:01:01 xyz smartd[8370]: Configuration file /etc/smartd.conf was > parsed, found DEVICESCAN, scanning devices > Oct 15 01:01:01 xyz smartd[8370]: Device: /dev/hda, opened > Oct 15 01:01:01 xyz smartd[8370]: Device: /dev/hda, found in smartd database. > Oct 15 01:01:02 xyz smartd[8370]: Device: /dev/hda, is SMART capable. Adding > to "monitor" list. > Oct 15 01:01:02 xyz smartd[8370]: Device: /dev/hdd, opened > Oct 15 01:01:02 xyz smartd[8370]: Device: /dev/hdd, packet devices [this > device CD/DVD] not SMART capable > Oct 15 01:01:02 xyz smartd[8370]: Monitoring 1 ATA and 0 SCSI devices > Oct 15 01:01:02 xyz smartd[8414]: smartd has fork()ed into background mode. > New PID=8414. > Oct 15 01:01:02 xyz smartd: smartd startup succeeded > > Erwan Velu wrote: >> Gary Smith wrote: >> >>> This is the only section in Smartd.con that is uncommented. >>> >> Sounds like the answer is just above isn't it ? >> >>> >> # First (primary) ATA/IDE hard disk. Monitor all attributes, enable >>> >> # automatic online data collection, automatic Attribute autosave, and >>> >> # start a short self-test every day between 2-3am, and a long self test >>> >> # Saturdays between 3-4am. >>> >> /dev/hda -a -o on -S on -s (S/../.././02|L/../../6/03) -m >>> arealemailaddress >> >> >> You must change /dev/hda by DEVICESCAN to handle all your drives. >> >> Cheers, >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: >> Power Architecture Resource Center: Free content, downloads, discussions, >> and more. http://solutions.newsforge.com/ibmarch.tmpl >> _______________________________________________ >> Smartmontools-support mailing list >> Sma...@li... >> https://lists.sourceforge.net/lists/listinfo/smartmontools-support >> > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Smartmontools-support mailing list > Sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartmontools-support > |