Check for bad blocks on a hard drive

Run this script to check for bad block on the hard drive.  Replace /dev/sda3 with the drive that you wish to check.

badblocks -vv /dev/sda3 > badblocks.log &

It will check for badblocks and write it to a file called badblocks.log.

Leave a Reply

You must be logged in to post a comment.