I have been researching the same question a few days ago and am currently running
> badblocks -b 4096 -c 8 -svw /dev/sda
on my old NAS drive. It makes a few passes writing the disk full of 0xaa and 0x55 and then reading it back.
I have my disk in a USB2.0 SATA adapter on a raspberry pi 3 and it's currently at 70% of pass #2 after 100 hours, so it sure is slow, but I don't mind.
tofubl
joined 1 year ago
Paperless-NGX
This ticks all your boxes. It's really good.