0
If I understand it correctly, badblocks
just writes somewhat elaborate patterns to the supplied block device and reads it back. With modern hard drives doing extensive caching, sometimes have included flash storage, being able to remap defective sectors with spare ones, or SSDs doing wear leveling, of what value is just running badblocks
? From my understanding, it only may set broken devices apart if the device is insanely broken, as in not having relocatable sectors left.
Should I run a SMART test before and after badblocks
and compare the results or is it enough to run it alone?