Badblocks
From Leo's Notes
This page was last edited on 10 January 2016, at 04:46.
badblocks -wsv -o /root/<badblocks.txt> /dev/<device>
<number of read errors>/<number of write errors>/<number of corruption errors>.
mkfs.<filesystem-type> -l /root/<badblocks.txt> /dev/<device>