badblock
Badblock is a command-line utility found on Unix-like operating systems, primarily Linux. Its purpose is to detect and mark bad sectors on a storage device, such as a hard disk drive or SSD. Bad sectors are areas of the storage medium that have become damaged and can no longer reliably store data. When a bad sector is encountered, the operating system may experience read or write errors, data corruption, or the device may become unresponsive.
The badblock utility works by performing a series of read and write tests across the entire storage