Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi everyone!!!
yesterday I installed FC3 on my computer .... and it doesn't see big problem...
but FC3 have some small problem on my computer.
what is the smartd ? smartd failed in the booting everytime.
My FC3 is very well boot operating except for this error.
I appreicate if you teach me that solution!!!
thank you...
Chances are, as it was with me, the smartd config file is incorrect. It is located at /etc/smartd.conf . When I went from FC1 to FC2, they changed the cdrom to /dev/hda. However they forgot to change the smartd.conf accordingly. Edit it with your own information. Example, if you have one hard drive installed and it is located at /dev/hdb, comment out every line in smartd.conf, and add your one line to the end with the -a option.
#afhjhgfashfldf
#lkdsfhalsdfhlakfh
#lkfhlasihflhadf
/dev/hdb -a
The lines you want smartd to inspect must be uncommented.
After you are done, save the .conf file and run 'smartd -d'.
It will report to you the hard drives it inspected and their smart capabilities. When you are satisfied, use 'ctrl+\' to exit smartd debug.
To confirm if you had the same problem, you should be able to check dmesg to see what the smartd error message is
'dmesg | grep smartd', but it sounds like the situation I had.
Smartd is located in /sbin, and this may not be in your $PATH. Try -
[user@localhost ]$ /sbin/smartd -d
If that fails you will probably need to be root in order to run it. That is executed as follows
[user@localhost ]$ su - password: [root@localhost ]$ smartd -d
And as with user, root's path may not include '/sbin'. If that is the case then
[root@localhost ]$ /sbin/smartd -d
Remember, once smartd is running you cannot ctrl - c to break out, you must use ctrl - \ to exit debug.
Try these possibilites in the order presented. If you are successful with the first suggestion there is no need to proceed to the next. Let me know how it goes.
After I upgraded FC2 to FC3 I had the same problem. It proved out that it was because my /etc/smartd.conf was empty:
Code:
[root@thor ~]# /usr/sbin/smartd -d
smartd version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
Opened configuration file /etc/smartd.conf
Configuration file /etc/smartd.conf parsed but has no entries (like /dev/hda)
Unable to monitor any SMART enabled devices. Try debug (-d) option. Exiting...
[root@thor ~]#
I also found the '/usr/sbin/smartd-conf.py' script which generates the configuration that can be used for smartd.conf.
Here's what I had to do (as root):
As Mr. Burns would say "Excellent." I'm upgrading to FC3 today. I thought it was still in testing or I would've switched earlier. Sorry I didn't know smartd was moved! But it sounds like you fixed your problem!
[root@localhost prc]# smartd -d
smartd version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
Opened configuration file /etc/smartd.conf
Configuration file /etc/smartd.conf parsed.
Device: /dev/sda, opened
Device /dev/sda, SATA disks accessed via libata are not currently supported by
smartmontools. When libata is given an ATA pass-thru ioctl() then an
additional '-d libata' device type will be added to smartmontools.
Unable to register SCSI device /dev/sda at line 1 of file /etc/smartd.conf
Unable to register device /dev/sda (no Directive -d removable). Exiting.
Apparently smartd does not support SATA drives - not sure if you are using one but from the prcarp entry above it seems you would be
"Device /dev/sda, SATA disks accessed via libata are not currently supported by
smartmontools."
If you are using only SATA, then theoretically you may be able to disable smartd altogether and not harm the system since it is not running anyway.
I also have this same problem and am wondering if I were to disable smartd it would screw with my PATA drive (that I believe is SMART capable) that has the os installed on it - any ideas?
my smartd.conf file has both drives listed - not sure if I want to try it, but I could comment out the sda line and see what happens...?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.