LinuxQuestions.org

LinuxQuestions.org (http://www.linuxquestions.org/questions/index.php)
-   Linux - Hardware (http://www.linuxquestions.org/questions/forumdisplay.php?f=18)
-   -   hard drive error test? (http://www.linuxquestions.org/questions/showthread.php?t=4175444688)

rabbit2345 01-08-2013 12:26 PM

hard drive error test?
 
Hi,

Is dd if=/dev/sda of=/dev/null a reliable test for the hard drive condition? I know there are smart tests, but if I just want to make sure everything is still readable, is this sufficient?


thanks,
rabbit2345

TobiSGD 01-08-2013 02:52 PM

No, the disk may correct errors on the fly without you noticing it. A SMART test or usage of the disk's manufacturer's diagnosis toll is the recommended way to do a test.

propofol 01-09-2013 01:35 AM

Quote:

smartctl --test=long /dev/sda
After a long while:

Quote:

smartctl -a /dev/sda
You could also look at "badblocks" for another, potentially more destructive, option.

Regards,
Stefan

H_TeXMeX_H 01-12-2013 04:57 AM

The SMART long test checks for bad blocks already.


All times are GMT -5. The time now is 02:55 AM.