what's the smartd ?
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. |
thank you for your advice!!!!!
I'll try it. thank you very much!!! |
:eek: well...............
I try to set smartd.conf file /dev/hdb -a root@localhost.localdomain but error message is the same situation.... I have one HDD... HDD; 250G (divide 3 partition) - first partition is Windows XP - second partition is Data Drive - third partition is FC3 please teache me...how to set the smartd.conf thank you...! |
On my FC3 there is a script '/usr/sbin/smartd-conf.py' that automatically generates the configuration.
|
run 'smartd -d' what type of message do you get?
|
well...
[soundbarrier@localhost ~]$ smartd -d bash: smartd: command not found [soundbarrier@localhost ~]$ so what shall i do? please teach me....!!! |
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. |
And once you get that straight I want to ask you to do something else. Run this command.
[user@localhost ~]$ df -h And post the output. This will let us know what to put in your /etc/smartd.conf file. |
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 Here's what I had to do (as root): Code:
[root@thor ~]# /usr/sbin/smartd-conf.py > /etc/smartd.conf Code:
[root@thor ~]# /etc/init.d/smartd start |
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!:)
|
im having the same problem here, was hoping to get some help with this.
when i do df -h i get something like /dev/mapper/Volgroup00-logvol00 149G 3.4G 138G 3% / /dev/sda1 99M 8.9M 85M 10 /boot none 506m 0 506m 0% /dev/shm my /etc/smartd.conf has: /dev/sda -H -m root@localost.localdomain i followed the instructions above but it failed, i suspect i need to change the .conf file but am not sure to what. any ideas? thx |
I am stuck as well:
This is what is currently in my .conf (the python script echoes the same thing) Here is the smartd output: Code:
[root@localhost prc]# smartd -d Code:
[root@localhost prc]# df -h Thanks, :newbie: |
Not sure if it helps, but I found this on RH bugzilla:
https://bugzilla.redhat.com/bugzilla....cgi?id=134337 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...? |
yea i did find out that sata didnt need smartd , so i turned it off.
|
All times are GMT -5. The time now is 02:48 PM. |