Yeah, SMART long test, badblocks, and then put it under some load for a while. I don’t have a regimented approach to load testing, just combine reads and writes. Use fio if you want.
That said I have never had a new drive fail SMART or had bad blocks out of the box. They’ve all either been DOA or fine. Did get 2 DOA 20tb exos the other day which was annoying but ultimately a free return/replace.
TLDR is the failures occur either right from the start, or at the tail end. So anything in the middle is fine; which is why used drives are a great deal depending on where on the curve they sit (power on hours).
Googling around found wiki.archlinux led to this. So I guess this utility is purposely hindered and no longer usable for larger hdds. And I did not see an alternative.
What about just zeroing out the entire drive(s). Then another long smart test?
And not to muddy the thread, but what will happen in a RAID 1 if one of the disks has a bad sector? How does mdadm inform me of the issue? Will it just neatly and automatically skip writing to the corresponding sector on the good disk?