/goodranges

Experimental utility for quick search of continuous non-damaged ranges of HDD based on badblocks.

Primary LanguageC++

Experimental utility for quick search of continuous non-damaged
ranges of HDD based on badblocks.

A sample session:

$ sudo ./goodranges /dev/sdc 150000 0 5000 150 15000

               . . . . . . . . . .

               . . . . . . . . . .
Checking blocks 153277800 to 153292800
Checking for bad blocks (read-only test): done                                                 
Pass completed, 0 bad blocks found. (0/0/0 errors)
Checking blocks 153431400 to 153446400
Checking for bad blocks (read-only test): done                                                 
Pass completed, 0 bad blocks found. (0/0/0 errors)


DONE! Good ranges are:
       0 - 42854400
63436800 - 89548800
90163200 - 96000000
96153600 - 153446400



Copyright (C) 2012 Roman Tereshin. This utility may be
redistributed under the terms of the GNU Public License.