Hi, I recently upgraded a bunch of packages on my RHEL5 system, including the kernel (now at 2.6.18-8.1.10.el5). When I rebooted after that update yesterday, everything seemed fine. But logwatch caught the following that night:

--------------------- Smartd Begin ------------------------

 Wrong configuration for devices:
   /dev/sda: 1 Time(s)

**Unmatched Entries**
Device: /dev/sda, IE (SMART) not enabled, skip device Try 'smartctl -s on /dev/sda' to turn on SMART features Device /dev/sda not available Device: /dev/sdb, IE (SMART) not enabled, skip device Try 'smartctl -s on /dev/sdb' to turn on SMART features Unable to register SCSI device /dev/sdb at line 2 of file /etc/smartd.conf Device /dev/sdb not available ---------------------- Smartd End -------------------------

(I have two identical SATA drives on the machine.) I've never had to deal with smartd before, and haven't touched the defaults, but a bit of poking around found the following bits of information. First, my /etc/smartd.conf:
/dev/sda -H -m [EMAIL PROTECTED]
/dev/sdb -H -m [EMAIL PROTECTED]

Next, the output of # smartctl -i /dev/sda -d ata
smartctl version 5.36 [x86_64-redhat-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 7200.7 and 7200.7 Plus family
Device Model:     ST380013AS
Serial Number:    5MR3596C
Firmware Version: 8.12
User Capacity:    80,000,000,000 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   6
ATA Standard is:  ATA/ATAPI-6 T13 1410D revision 2
Local Time is:    Tue Sep 18 12:39:58 2007 EDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

And.... # smartctl -H /dev/sda -d ata
smartctl version 5.36 [x86_64-redhat-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

That's weird. Smartctl thinks that SMART support is enabled, but smartd apparently didn't during boot time? What gives?

I think what I want is for smartd to start up without whining, and for it to email me if there's trouble, and for it to properly log to messages... How do I make sure that it's working correctly?

-Harlan



--
Harlan Harris
Post-Doctoral Research Fellow
Department of Psychology
New York University
[EMAIL PROTECTED]

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to