I've always done burn-in testing on new hard drives with the badblocks utility in e2fsprogs. I've run into the following problem on very large drives. Any suggestions?
Disk info:
Running: 13.2-RELEASE FreeBSD 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC amd64
Code:
sysctl kern.geom.debugflags=0x10
badblocks -b 4096 -ws /dev/da4
badblocks: Value too large to be stored in data type invalid end block (4882956288): must be 32-bit value
Disk info:
Code:
Geom name: da4
Providers:
1. Name: da4
Mediasize: 20000588955648 (18T)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r0w0e0
descr: ATA ST20000NE000-3G5
lunid: 5000c500e67273f7
ident: xxxxxxxx
rotationrate: 7200
fwsectors: 63
fwheads: 255
Running: 13.2-RELEASE FreeBSD 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC amd64