Skip to content

Instantly share code, notes, and snippets.

@magnetikonline magnetikonline/
Last active Aug 29, 2015

What would you like to do?
Check Linux filesystem for bad blocks.

Check Linux filesystem for bad blocks

List filesystem(s) to check

$ df -h

Will be listed as /dev/sdX1.

Run a badblocks check

$ sudo badblocks -sv /dev/sdX1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.