Re: smartd.conf changes lost

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2007-10-22 at 07:59 -0500, Steven Stern wrote: 
> I've noticed that smartd doesn't monitor my drives. How do I get it to
> look at and monitor my two SATA drives?
> 
> I added
> 
>   /dev/sda -a
>   /dev/sdb -a
> 
> to the smartd.conf file.  When I restart the smart daemon, the
> smartd.conf file is rewritten without those two lines. The log file
> indicates that smartd is not monitoring any drives:
> 
> smartd[3343]: Configuration file /etc/smartd.conf parsed but has no
> entries (like /dev/hda)
> smartd[3343]: Monitoring 0 ATA and 0 SCSI devices
> smartd[3345]: smartd has fork()ed into background mode. New PID=3345.

I noticed something similar:  The configuration file gets changed,
there's nothing specifically set in it, my drives were being monitored,
but not any more...  Below are /var/log/messages snippets of it working
and not working (my drive is SATA, but the BIOS only has PATA options):

Oct  8 22:14:31 suspishus smartd[3105]: smartd version 5.37 [i686-redhat-linux-gnu] Copyright (C) 2002-6 Bruce Allen 
Oct  8 22:14:31 suspishus smartd[3105]: Home page is http://smartmontools.sourceforge.net/  
Oct  8 22:14:31 suspishus smartd[3105]: Opened configuration file /etc/smartd.conf 
Oct  8 22:14:31 suspishus smartd[3105]: Configuration file /etc/smartd.conf parsed. 
Oct  8 22:14:31 suspishus smartd[3105]: Device: /dev/sda, opened 
Oct  8 22:14:31 suspishus smartd[3105]: Device: /dev/sda, not found in smartd database. 
Oct  8 22:14:31 suspishus smartd[3105]: Device: /dev/sda, is SMART capable. Adding to "monitor" list. 
Oct  8 22:14:31 suspishus smartd[3105]: Monitoring 1 ATA and 0 SCSI devices 
Oct  8 22:14:31 suspishus smartd[3107]: smartd has fork()ed into background mode. New PID=3107. 

Oct  9 02:23:27 suspishus smartd[2550]: smartd version 5.37 [i386-redhat-linux-gnu] Copyright (C) 2002-6 Bruce Allen 
Oct  9 02:23:28 suspishus smartd[2550]: Home page is http://smartmontools.sourceforge.net/  
Oct  9 02:23:28 suspishus smartd[2550]: Opened configuration file /etc/smartd.conf 
Oct  9 02:23:28 suspishus smartd[2550]: Configuration file /etc/smartd.conf parsed but has no entries (like /dev/hda) 
Oct  9 02:23:28 suspishus smartd[2550]: Monitoring 0 ATA and 0 SCSI devices 
Oct  9 02:23:28 suspishus smartd[2552]: smartd has fork()ed into background mode. New PID=2552. 

On Oct 9th, smartmontools was updated (the RPM for the daemon and the
tool), and all subsequent logs show zero drives being monitored.

Have a look at the very top of the smart configuration file: 

# *SMARTD*AUTOGENERATED* /etc/smartd.conf
# Remove the line above if you have edited the file and you do not want
# it to be overwritten on the next smartd startup.

Try following the instructions, there and further in the file, to make
your SMART daemon manually, instead of automatically, configured.  I
removed those two lines, and uncommented the DEVICESCAN option (being
lazy, and wanting to see what will happen if I plug in a removable
drive).  The messages in /var/log/messages now suggest it's monitoring
my internal drive, I haven't yet plugged in a second one.

-- 
(This computer runs FC7, my others run FC4, FC5 & FC6, in case that's
 important to the thread.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux