Build1 distinct publisher3 min readPublished
A 32-bit block count caps badblocks at 4.4TB with 1KiB blocks. Moving to -b 4096 buys headroom up to 17.6TB, which is one notch below the 18TB refurb disks in the writeup that recommends it.
The Engineer · Build desk

Compiled by The EngineerSomething wrong?How this is made
Do the ceiling arithmetic on the drive in the opening example and the recommended fix does not clear it. The limit is 2^32 blocks, 4,294,967,296 of them [1]. An 18 TB drive at 4096 bytes per block comes to 18,000,000,000,000 / 4096 = 4,394,531,250 blocks, about 99.6 million over [17]. So -b 4096 on an 18 TB disk exits in the same second the 1 KiB default did, and the run needs -b 8192 [18]. The writeup, published on dev.to under the byline Vainamoinen, described there as the autonomous AI sysadmin running day-to-day infrastructure at the Finnish seedbox and storage host Pulsed Media [13], puts the -b 8192 threshold at 20 TB and up [6]. The drive it opens with is 18 TB [7].
The pasted error is not from that drive. It reports an invalid end block of 7812500000 [4], and 7,812,500,000 x 1024 is 8.0e12 bytes [19].
There is a second figure to reconcile. The post gives the ceiling as 2^32 blocks [1] and later says to raise the block size until the count comes back under 2^31 [8]. Those differ by a factor of two, and the error text only says the value must be 32-bit [4]. If the conservative reading is what the binary enforces, the 4 KiB ceiling is 2^31 x 4096, about 8.8 TB [20], and an 18 TB drive at 8192 comes to 2,197,265,625 blocks, still roughly 50 million over [23]. Same disk, three different block sizes depending on which constant you trust. The rule that survives all of them is the one the post closes on: if badblocks refuses to start, double the block size until the count fits [21]. And -b 4096 does have the merits claimed for it, aligned to the 4 KiB physical sectors these drives already use and faster than 1 KiB blocks [22]. Neither merit makes it a default you can stop thinking about.
badblocks is not quiet about the failure. It prints the error and is back at the prompt in under a second, with no pass 1, nothing wiped and nothing verified [4]. A destructive write-verify that finishes that fast has at least preserved your data [16]. The check the post recommends costs four seconds: sleep 4, then pgrep -c badblocks, where the count should equal the number of drives you launched and zero means they all died at setup [11].
One layer up, the same post flags a matching enumeration bug. A sd? glob matches sda through sdz and silently skips two-letter names like sdaa and sdab, so a loop over every disk in a well-stuffed JBOD covers fewer than it claims [14]. Enumerating with lsblk -dn -o NAME,SIZE,TYPE and filtering to type disk does not care how long the kernel made the name [15]. Both bugs leave the same artefact behind: a batch job that reports having done the work, with no record of how many devices it actually touched.
Ranked by verification strength, evidence, and original report placement.
The scenario the post opens with is a destructive burn-in queued on a fresh 18 TB drive using badblocks -wsv /dev/sdb.
badblocks addresses the disk in blocks, defaults to a 1 KiB block size, and keeps the block number in a 32-bit integer, so the block count must fit under 2^32, approximately 4.29 billion.
At 1 KiB blocks the 32-bit block count caps the device at 2^32 x 1024 bytes, about 4.4 TB; any drive past roughly 4.4 TB overflows the counter before the first block is read, and badblocks refuses to set up rather than failing mid-run.
On an 8 TB disk the block count is roughly 8e12 / 1024 = 7.8 billion blocks, well over the 4.29 billion ceiling.
The failure prints 'badblocks: Value too large for defined data type invalid end block (7812500000): must be 32-bit value' and returns to the prompt in under a second, with no progress bar, no pass 1, nothing wiped and nothing verified.
The fix given is badblocks -b 4096 -wsv /dev/sdX, and the post says -b 4096 should be the default on any large drive because it covers up to 2^32 x 4 KiB, approximately 17.6 TB.
Distinct publishers with included, body-backed reporting in this cluster.
1 article · September 5, 2026
Follow any of these and your For You feed starts watching them — no settings page required.
Evidence-backed comparisons of source perspectives and observed adoption signals. Read the methodology
Which Builder, Operator, and Investor concerns the observed source mix emphasized—not a truth score.
Evidence, demonstrated adoption, hype gap, incentives, and confidence are assessed independently, each on its own current evidence. How these are measured.
Checkable arithmetic, one unchecked author
The mechanism is division anyone can redo: block size times 2^32, and every capacity figure in the story falls out of it, which is why the numbers hold up on inspection. What the record lacks is corroboration. No upstream documentation is cited for the 32-bit limit, the single account pastes an error from an 8 TB device while narrating an 18 TB burn-in, and its two ceilings, 2^31 and 2^32, are never reconciled.
One shop's own burn-in bench
Usage evidence begins and ends with Pulsed Media saying it screens every disk before customer data lands on it. That is a real practice at a real host, but it is one operator describing itself, with no second deployment and no count of how many drives were pushed through the flawed default before anyone noticed.
Fix oversold by one drive size
-b 4096 is billed as having no downside and as covering essentially every drive shipping today, with -b 8192 held back for 20 TB and up. The opening drive is 18 TB, above the 17.6 TB that 4 KiB buys, so the headline remedy would die at setup on the exact disk that prompted the write-up. The diagnosis is sound; the prescription overshoots its own worked example by one notch of block size.
House byline with a soft pitch
The byline is the host's own AI sysadmin and the piece closes on Pulsed Media's datacenter and its GPL-licensed platform, so this is company content with a marketing tail. It cuts the other way too: the anecdote is an admission that a batch of burn-ins produced nothing for an afternoon, which is not what pure promotion publishes.
Firm on the numbers, thin on the source
We can stand behind the capacity arithmetic without reservation, since it is fixed-width integer division on figures the post publishes. The soft spot is which ceiling badblocks actually enforces: the instructions say get under 2^31 while every derivation uses 2^32, and nothing available settles it; that difference decides whether -b 8192 clears an 18 TB drive or merely postpones the problem.