How to diagnose hdd health?

Red Hat redhat at lokrin.net
Tue Apr 26 16:04:13 UTC 2005


What's the command to redirect error messages to a file?

Les Mikesell wrote:

>Use smartctl if the drive supports it.  If it doesn't, a brute force
>nondestructive approach is to 'cat /dev/xxx >/dev/null' to force every
>sector to be read and watch for error messages on the screen or logged
>to /var/log/messages.  Or you could use the 'badblocks' program.
>  
>




More information about the fedora-list mailing list