#269 Badblocks fails when using random pattern

e2fsck (61)
Itai Agmon

I get bad blocks when I run the badblocks application with the following command:

$ sudo badblocks -v -w -e 1 -t random /dev/sdb 2246 1222 > temp
Checking for bad blocks in read-write mode
From block 1222 to 2246
Testing with random pattern: done
Reading and comparing: Too many bad blocks, aborting test
Pass completed, 64 bad blocks found.

This is not reproduced in constant pattern
This is not reproduced in any range of blocks or when executing on full disk.
This was reproduced on various types of disks and on different machines.
This was reproduced in various sizes of blocks and block counts.
The disk has 976762583 blocks and no file system.

Needless to say that disk has no bad blocks.

I reproduced it in e2fsprogs version 1.41.4 and 1.41.12
I am using Ubuntu 10.04 and RedHat with kernel 2.6.32-24-generic


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks