Get the latest tech news
How to check for bad blocks on a Linux PC hard drive (and why you shouldn't wait to do it)
If your Linux machine is acting up, faulty blocks or sectors on your hard drive might be to blame. If so, here's what you need to do right away - before you risk losing your data.
This can happen because of physical damage to the drive or failing transistors on flash memory (think SSDs). If badblocks report that there are, in fact, bad blocks on your drive, you'll want to mark them as unusable. The open-source tools that could disrupt the entire IT incident management market
Or read this on ZDNet