bad sectors, raid
As a stopgap, assuming that one or more sectors of the file are bad, don't delete the bad file. Instead, change the filename to something like badsector1, make it read-only, then install a new copy of the desired file. That traps the bad sector within a file that you no longer need or use. If the drive has developed one or more bad sectors, it likely will develop more, so I would replace the drive as soon as possible. Note that if the drive gets defragmented in the meantime, you may have that bad sector show up in a different file. If you are using a striped raid, for higher i/o bandwidth, I would consider whether you really need the higher bandwidth, as I would personally rather operate in raid-mirror mode, where the drives operate as a real-time backup for each other. In that mode, if a sector fails on one drive, or a whole drive fails catastrophically, you don't lose any data, you simply replace the failed/failing drive while the mirror drive provides uninterrupted access to everything.
|