[svlug] Mapping out bad sectors using badblocks (was: Files That Will Not Delete)

Scott DuBois sdubois at linux.com
Sun Nov 2 08:58:52 PST 2014


On 11/02/2014 08:36 AM, Rick Moen wrote:
> Check the manpage carefully, as it's possible that using -o option causes
> badblocks to -only- output the list, i.e., provide information only.  I do
> know that outputting that list to file and then feeding that list to mkfs
> ensures uses of the information.

Running:

roguehorse at linux:~$ sudo badblocks -vs -o /tmp/badblockslist /dev/sdd1
[sudo] password for roguehorse:
Checking blocks 0 to 1953512000
Checking for bad blocks (read-only test): 1.5% done, 4.48 elapsed.
(0/0/0 errors)

-- 
Scott DuBois BSIT
President EBLUG
Freenode: Roguehorse




More information about the svlug mailing list