Portal Home > Knowledgebase > Articles Database > smartd ?


smartd ?




Posted by Passwordz, 05-15-2008, 11:04 AM
I was having huge WA on my dedicated server ( upto 90 - 100 % ) most of the time. So, i thought my Server HDD may be have IO issues, i am advised to run smartd that would tell me if there were any errors on the drive, as per my server provider. Can someone advice on how to view results from smartd ? When i run smartd on SSH, i see no result ..

Posted by Patrick, 05-15-2008, 12:12 PM
The first step would be to run either a short (2 minute) or long (40 minute) test on the hard drive. This can be accomplished by the smartctl command. smartctl -t short /dev/hda smartctl -t long /dev/hda Change hda to the correct hard drive, and depending on the test performed it will tell you when you can look at the results. To look at the detailed results, just run the following command and post the output here if you're not sure what it is you're reading: smartctl -A /dev/hda Another helpful command is to check the overall health of the drive, but I like to still perform the tests and look at the raw output first: smartctl -H /dev/hda

Posted by Passwordz, 05-15-2008, 02:18 PM
I get this error ... Output of ls /dev is :

Posted by Patrick, 05-15-2008, 03:34 PM
Ah, your hard drive is /dev/sda... try the following. Short Test: smartctl -t short /dev/sda Raw Output: smartctl -A /dev/sda Health Report: smartctl -H /dev/sda If you're not sure about the results just post them here and someone will offer some guidance.

Posted by Passwordz, 05-15-2008, 10:35 PM
Where to see the results, so i can paste here ?

Posted by ub3r, 05-15-2008, 11:40 PM
is smartctl --help really this hard? smartctl -l error -l selftest /dev/sda

Posted by Passwordz, 05-15-2008, 11:53 PM
I get to see this output

Posted by ub3r, 05-16-2008, 12:42 AM
okay, your drive isn't bad try doing yum install sysstat then run iostat and post output of iostat

Posted by Passwordz, 05-16-2008, 07:35 AM
What to do now



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read