#764636 Badblocks does not support large disks

Package:
e2fsprogs
Source:
e2fsprogs
Description:
ext2/ext3/ext4 file system utilities
Submitter:
Dmitry Smirnov
Date:
2017-12-19 04:42:03 UTC
Severity:
minor
#764636#5
Date:
2014-10-09 20:04:19 UTC
From:
To:
I tried to run `badblocks` on 14TB block device (mdadm) but got
the following error:

    badblocks: Value too large for defined data type invalid end block (13673680384): must be 32-bit value

Smaller devices can be checked successfully.
Suggests           (Version) | Installed
============================-+-===========
gpart                        |
parted                       | 2.3-12
e2fsck-static                | 1.42.5-1.1

#764636#10
Date:
2015-02-07 17:01:49 UTC
From:
To:
Just had this problem again on 5TB HDD:

	badblocks: Value too large for defined data type invalid end block (4883770584): must be 32-bit value

I've managed to check my HDD by overriding default block size with
"-b4096" option.
--- Reality is that which, when you stop believing in it, doesn't go away. -- Philip K. Dick
#764636#25
Date:
2017-12-19 04:39:20 UTC
From:
To:
There is a similar bug in Red Hat Bugzilla,

https://bugzilla.redhat.com/show_bug.cgi?id=1306522

which is "CLOSED WONTFIX" and indicates that upstream doesn't support
badblocks on large devices (maybe doesn't support badblocks at all?)

Maybe #76636 should do the same?