Mailinglist Archive: opensuse (4570 mails)

< Previous Next >
Re: [SLE] smartd not starting
  • From: "B. Stia" <usr@xxxxxxxxxxx>
  • Date: Tue, 1 Nov 2005 06:19:44 +0000 (UTC)
  • Message-id: <200511010012.40996.usr@xxxxxxxxxxx>
On Saturday 29 October 2005 12:58 am, Ian Marlier wrote:
> > From: "B. Stia" <usr@xxxxxxxxxxx>

> >>> (Snip a bunch)

>> Question, what calls the
> > smartd.conf file, Cron ?? Maybe that is what is not happening.
> > (Don't ever see anything in /var/log/messages.
> >
> > I also have two hard drives. Can I make that command call to check
> > the two drives consecutively?
>
> Yes -- just copy the command line with "/dev/hda" replaced by
> "/dev/hdb"
>
> And as for the other thing: do `chkconfig smartd on` and then
> `/etc/init.d/smartd start`. The first will tell smartd to start at
> boot from now on, the second will tell it to start up right now.
> You'll get notified, ongoing, if anything goes wrong.

Thanks Ian,

Sorry for the untimely response. Been pretty busy.

This is what I get to the command:

EasyStreet:/ # chkconfig smartd on
smartd: unknown service

The second command works OK. So it seems that smartd is not working
unless I invoke it manually. Here is the pertinent part of my partly
configured smartd.conf file:
-------------------------------------------------------------------
# do a short self-test every day at 2am, and a long self test
# Saturdays at 3am.
#/dev/hda -a -o on -S on -s (S/../.././02|L/../../6/03)
/dev/hdb -a -m root -o on -S on -s (S/../.././01|L/../../6/02) -M test
/dev/hda -a -H -m root@xxxxxxxxxxxxxxxxxxxxx -o on -S on -s
(S/../.././02|L/../../6/03)

# Monitor SMART status, ATA Error Log, Self-test log, and track
# changes in all attributes except for attribute 194
#/dev/hdb -H -l error -l selftest -t -I 194

# A very silent check. Only report SMART health status if it fails
# But send an email in this case
#/dev/hdc -H -m admin@xxxxxxxxxxx
-------------------------------------------------------------------
Bob S.

< Previous Next >
This Thread
  • No further messages