I'd like to be able to mark a tape block (segment, whatever) as bad when
it fails a tape write.
More specifically, I'd like the driver, upon failure to write to a tape
segment, to automatically mark that segment as bad, and then re-write the
data onto the next segment.
And, to make sure that data loss is avoided (as much as possible), I'd
like to see the driver update the "file marks" and "bad block list"
section of the header anytime it goes back to the start of tape
(even if it is in the middle of the tape, logically, doing a write
operation).
I mention this because I just did a backup of a system, and saw in the
log a warning -- one hard media failure (and no indication that the
driver made any attempt to resolve it).
[I'd like like to add a block to the bad block list -- I have discovered
(thanks to some real diagnostics in the logs) that my dos formatting
software does not mark a full 2784 bad blocks -- it only claims 2753.
At the very least, a way to force the bad block list to be correct :-) ]
Version 3.04d 25/11/97, from RedHat 6.0.