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
- -n: non-destructive, read-write test.
- -s: Show progress indicator
- -v: Verbose mode.