View Single Post
  #8   (View Single Post)  
Old 5th May 2022
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,772
Default

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.
Reply With Quote