smartd?
Samuel Flory
sflory at rackable.com
Thu Jan 15 23:26:32 UTC 2004
John Gray wrote:
> Hello all . . thanks for the great help I have received from this list
> so far.
>
> When fedora is booting I get an error regarding "smartd".
>
> Can anyone tell me what that is?
See "man smartctl". The error is likely do to it trying to access
you cdrom. See the below example where hda is a cdrom drive, and hde
and hdg are hard drives.
[root at goblin root]# service smartd restart
Shutting down smartd: [FAILED]
Starting smartd: [FAILED]
[root at goblin root]# tail /var/log/messages
==> /var/log/messages <==
Jan 15 15:20:49 localhost smartd: smartd shutdown failed
Jan 15 15:20:49 localhost smartd[18095]: smartd version 5.21 Copyright
(C) 2002-3 Bruce Allen
Jan 15 15:20:49 localhost smartd[18095]: Home page is
http://smartmontools.sourceforge.net/
Jan 15 15:20:49 localhost smartd[18095]: Opened configuration file
/etc/smartd.conf
Jan 15 15:20:49 localhost smartd[18095]: Configuration file
/etc/smartd.conf parsed.
Jan 15 15:20:49 localhost smartd[18095]: Device: /dev/hda, opened
Jan 15 15:20:49 localhost smartd[18095]: Device: /dev/hda, unable to
read Device Identity Structure
Jan 15 15:20:49 localhost smartd[18095]: Unable to register ATA device
/dev/hda at line 30 of file /etc/smartd.conf
Jan 15 15:20:49 localhost smartd[18095]: Unable to register device
/dev/hda (no Directive -d removable). Exiting.
Jan 15 15:20:49 localhost smartd: smartd startup failed
[root at goblin root]# vi /etc/smartd.conf
Change
/dev/hda -H -m root at localhost.localdomain
to
/dev/hde -H -m root at localhost.localdomain
/dev/hdg -H -m root at localhost.localdomain
[root at goblin root]# service smartd restart
Shutting down smartd: [FAILED]
Starting smartd: [ OK ]
[root at goblin root]# tail /var/log/messages
==> /var/log/messages <==
Jan 15 15:23:50 localhost smartd[18125]: Configuration file
/etc/smartd.conf parsed.
Jan 15 15:23:50 localhost smartd[18125]: Device: /dev/hde, opened
Jan 15 15:23:50 localhost smartd[18125]: Device: /dev/hde, not found in
smartd database.
Jan 15 15:23:50 localhost smartd[18125]: Device: /dev/hde, is SMART
capable. Adding to "monitor" list.
Jan 15 15:23:50 localhost smartd[18125]: Device: /dev/hdg, opened
Jan 15 15:23:50 localhost smartd[18125]: Device: /dev/hdg, not found in
smartd database.
Jan 15 15:23:51 localhost smartd[18125]: Device: /dev/hdg, is SMART
capable. Adding to "monitor" list.
Jan 15 15:23:51 localhost smartd[18125]: Monitoring 2 ATA and 0 SCSI devices
Jan 15 15:23:51 localhost smartd[18127]: smartd has fork()ed into
background mode. New PID=18127.
Jan 15 15:23:51 localhost smartd: smartd startup succeeded
--
Unless you can't avoid it never put a
serial number on any of your systems!!
(The Numberless Rule of Hardware Acquisition)
Sam Flory <sflory at rackable.com>
More information about the fedora-list
mailing list