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
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
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?