Checking disks for errors using the badblocks command
Read-only test using the badblocks command.
This is a non-destructive read-only test which can be run on disk even if it contains a mounted filesystem. It simply verifies that each block can be read; it does not test for write errors.
sudo badblocks -s -v -c 10240 /dev/sdx
-s = show progress
-v = verbose mode
-c 10240 - check 10K blocks at a time
-s = show progress
-v = verbose mode
-c 10240 - check 10K blocks at a time
Leave a Reply
You must be logged in to post a comment.