LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-28-2004, 01:41 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Starting smartd.....Failed


Hi folks,

What is 'smartd'?

Each time on booting, following warning indicated.
....
Starting smartd [failed]

However there is no noticeable problem in operating FedoraCore2

Please advice how to fix it.

TIA

B.R.
satimis
 
Old 09-28-2004, 08:54 AM   #2
4hp
Member
 
Registered: Aug 2003
Location: The Netherlands
Distribution: Ubuntu 5.04
Posts: 68

Rep: Reputation: 15
Same error here!

I disabled it from starting in rc5.d
 
Old 09-28-2004, 10:16 AM   #3
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
Smartd does hard drive reliability monitoring. Most modern drives can keep track of errors and relay them to the OS. Smartd under FC2 is failing on all of my systems, but I assume that it is caused by FC2 not being able to read the information through the PCI-based hard disk controllers (Promise Ultra100 TX2) installed in the systems.

Since the drives are super reliable Western Digitals, I don’t worry about the smartd failure. I would be more concerned if the drives were Quantums or Maxtors, but that’s just based on my own bad experiences with them.
 
Old 09-28-2004, 01:37 PM   #4
Arodef
Member
 
Registered: Apr 2004
Distribution: Centos, Fedora
Posts: 125

Rep: Reputation: 17
smartd always fails in the systems I have with S-ATA drives. I disabled that service.
 
Old 09-28-2004, 04:42 PM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi 4hp,

Quote:
Same error here!

I disabled it from starting in rc5.d
There are 2 'S40smartd' files

/etc/rc.d/rc5.d/S40smartd
/etc/rc5.d/S40smartd

$ cat /etc/rc.d/rc5.d/S40smartd
Code:
.........
    case "$1" in
        start)
            smartd -p $PID_FILE
            echo -n "smartd "
            ;;
        stop)
            kill `cat $PID_FILE`
            echo -n "smartd "
            ;;
        restart)
            $0 stop
            sleep 1
            $0 start
            ;;
        *)
            echo "Usage: smartd {start|stop|restart}"
            exit 1
Is it changing as "echo "Usage: smartd stop"

TIA

B.R.
satimis
 
Old 09-28-2004, 04:51 PM   #6
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi folks,

Tks for your advice.

The HD in this PC is connected to ATA-66 Controller. It is Seagate product, IIRC.

# fdisk -l
Code:
Disk /dev/hdg: 10.2 GB, 10245537792 bytes
16 heads, 63 sectors/track, 19852 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdg1   *           1         220      110848+  83  Linux
/dev/hdg2             221       12000     5937120   83  Linux
/dev/hdg3           12001       13100      554400   82  Linux swap
/dev/hdg4           13101       19852     3403008    f  W95 Ext'd (LBA)
/dev/hdg5           13101       19852     3402976+  83  Linux
I don't understand why its denotation is /dev/hdg. Please advise.

I checked BIOS but could not discover any page having S.M.A.R.T. item there.

Is there any way to find the brand/maker of a HD without opening the box?

TIA

B.R.
satimis
 
Old 09-28-2004, 06:29 PM   #7
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
satimis: Typically, hda/hdb and hdc/hdd are the master/slave drives on the motherboard-based primary and secondary IDE channels, respectively. Likewise, hde/hdf and hdg/hdh typically refer to the master/slave drives on the PCI-based controller card primary and secondary IDE channels, respectively. Your hard drive is probably plugged into the secondary IDE channel on the controller card.

Regarding “electronically” identifying drives, Seagate drives typically are identified by model number, such as ST3120026AS, which is an SATA 80GB drive. The model number may be displayed during the initialization of the controller card at startup or may be readable from the IDE section of the BIOS setup pages. It is usually not in both places. So, in other words, reboot and watch the monitor.

You can look up the drive characteristics using the model number at the Seagate web site.
 
Old 09-29-2004, 03:20 AM   #8
4hp
Member
 
Registered: Aug 2003
Location: The Netherlands
Distribution: Ubuntu 5.04
Posts: 68

Rep: Reputation: 15
Quote:
Originally posted by satimis
Hi 4hp,


There are 2 'S40smartd' files

/etc/rc.d/rc5.d/S40smartd
/etc/rc5.d/S40smartd

$ cat /etc/rc.d/rc5.d/S40smartd
Code:
.........
    case "$1" in
        start)
            smartd -p $PID_FILE
            echo -n "smartd "
            ;;
        stop)
            kill `cat $PID_FILE`
            echo -n "smartd "
            ;;
        restart)
            $0 stop
            sleep 1
            $0 start
            ;;
        *)
            echo "Usage: smartd {start|stop|restart}"
            exit 1
Is it changing as "echo "Usage: smartd stop"

TIA

B.R.
satimis
Actually, I didn't edit the script itself. I moved the file in /etc/rc.d/rc5.d/S40smartd (which is the same file as: /etc/rc5.d/S40smartd 'cos /etc/rc5.d is a shortcut to /etc/rc.d/rc5.d/ I think) to another folder like UnusedRC5Scripts. Then it won't be loaded at normal startup (runlevel 5 that is). I'm quite a newbie
 
Old 10-09-2004, 01:35 AM   #9
linuXBOX
Member
 
Registered: Jul 2003
Location: Stuart,FL
Distribution: Fedora Core 3 and Slackware 10.0
Posts: 179

Rep: Reputation: 30
I had this happen. With the coming of FC2, the cdrom was changed to /dev/hda.
But smartd didn't change its config file (smartd.conf or whatever)
It still tries to scan /dev/hda and the cdrom will not give it hard drive info, if any.
Change the smartd config file to scan the drive(s) that are listed in fdisk -l.
For me I changed /dev/hda to /dev/sda, /dev/sdb, and /dev/sdc as I use scsi.
Afterwards smartd gave me the 3 scsi disks info, huzzah.
 
Old 10-11-2004, 01:33 AM   #10
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi WhatsHisName,

Tks for your advice.

Quote:
satimis: Typically, hda/hdb and hdc/hdd are the master/slave drives on the motherboard-based primary and secondary IDE channels, respectively. Likewise, hde/hdf and hdg/hdh typically refer to the master/slave drives on the PCI-based controller card primary and secondary IDE channels, respectively. Your hard drive is probably plugged into the secondary IDE channel on the controller card.
After plugging HD to primary IDE channel of the PCI-based controller.

# df -Th
Code:
Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/hde2     ext3    5.6G  3.3G  2.1G  61% /
/dev/hde1     ext3    105M  7.6M   92M   8% /boot
none         tmpfs    189M     0  189M   0% /dev/shm
/dev/hde5     ext3    3.2G  362M  2.7G  12% /home
Quote:
Regarding “electronically” identifying drives, Seagate drives typically are identified by model number, such as ST3120026AS, which is an SATA 80GB drive. The model number may be displayed during the initialization of the controller card at startup or may be readable from the IDE section of the BIOS setup pages. It is usually not in both places. So, in other words, reboot and watch the monitor.

You can look up the drive characteristics using the model number at the Seagate web site.
Noted with thanks. HD idenfication is displayed during booting

Is there any way to display HD identification after booting, i.e. during working? TIA

B.R.
satimis
 
Old 10-11-2004, 01:36 AM   #11
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally posted by 4hp
Actually, I didn't edit the script itself. I moved the file in /etc/rc.d/rc5.d/S40smartd (which is the same file as: /etc/rc5.d/S40smartd 'cos /etc/rc5.d is a shortcut to /etc/rc.d/rc5.d/ I think) to another folder like UnusedRC5Scripts. Then it won't be loaded at normal startup (runlevel 5 that is). I'm quite a newbie
Hi 4hp,

Tks for your advice.

I leave it there. It does not cause any problem.

B.R.
satimis
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
starting postgresql failed ukrainet Linux - Newbie 3 01-09-2011 11:57 AM
smartd failed wolferd1 Linux - Newbie 3 06-05-2006 07:39 AM
Starting smartd: [Failed] hosammy Linux - Hardware 1 10-18-2005 10:42 PM
Starting system logger: [Failed] rmarkin Linux - Software 3 03-30-2005 02:01 PM
starting smb services failed... batfastad Linux - Newbie 24 01-29-2005 06:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration