HowTo: badblocks with progress indicator

Step-by-Step descriptions of how to do things.
Post Reply
User avatar
peter_b
Chatterbox
Posts: 370
Joined: Tue Nov 12, 2013 2:05 am

HowTo: badblocks with progress indicator

Post by peter_b »

This "HowTo" is actually just there to satisfy TL;DR: "Too Long; Didn't Read"

In order to run badblocks (on GNU/Linux) on a disk that already has data on it, that must be kept, run the following command:

Code: Select all

$ badblocks -nsv /dev/sdX
Commandline arguments used:
  • -n: non-destructive, read-write test.
  • -s: Show progress indicator
  • -v: Verbose mode.
Post Reply