I recall using a utility to test and re-write sectors to force reallocation on drives that had begun to produce bad sectors. After use, I reformatted and restored the affected partitions, and then scheduled a disk drive replacement at my convenience.
The utility is called badblocks(8) and it is included in the `e2fsprogs` package.
|