Thanasis wrote:
on 03/06/2011 07:07 PM Nikos Chantziaras wrote the following:
Before leaving home, I started an fsck.ext4 on a filesystem (500GB)
that resides on a disk that I suspect is damaged:
fsck.ext4 -c -c -f /dev/sdb1
You can check the SMART (Self-Monitoring, Analysis, and Reporting
Technology) data, which is built-in in all hard drives today, and allows
you to see the status or overall “health” of a hard drive.
( smartctl -a /dev/sdb )
You can also tell it to run a selftest too. Example commands to look into:
smartctl -t long /dev/<your drive here>
and for the results, usually a good while later:
smartctl -l selftest /dev/<your drive here>
If you think heat may be a issue, try this:
smartctl -a /dev/<your drive here> | grep Temp
With all this, you should be able to find out if you are good to go or
got a drive going bad.
Dale
:-) :-)