Detecting Bad Blocks on Storage Devices
If you suspect a disk has bad blocks, use the badblocks utility to scan for them. This tool probes a device (usually a disk partition) and reports which blocks are unreliable or unreadable. Basic Usage badblocks /dev/sda1 This scans /dev/sda1 from the first block to the last block on the device. Common Options -s: Show…
