Tape volume overwrite protection during error recovery
AssigneeInternational Business Machines Corporation
InventorsErika M. Dawson, David C. Reed, Max D. Smith, Joseph M. Swingler
Life of this patent
Estimating the term…
Abstract
In one embodiment, a method includes detecting an error while writing data to a tape volume. The method further includes repositioning the tape volume for recovering from the error, and receiving, after the repositioning, at least a portion of the data for rewriting the at least a portion of the data to the tape volume. Further, the method includes determining, after the repositioning, a current position of the tape volume. Additionally, the method includes determining, based on the current position of the tape volume, whether the rewrite to the tape volume is allowed.
Claims20
A method, comprising:
- detecting an error while writing data to a tape volume;
- repositioning the tape volume for recovering from the error;
- receiving, after the repositioning, at least a portion of the data for rewriting the at least a portion of the data to the tape volume;
- determining, after the repositioning, a current position of the tape volume;
- and
- determining, based on the current position of the tape volume, whether the rewrite to the tape volume is allowed.
An apparatus, comprising a processor and logic integrated with and/or executable by the processor, the logic being configured to cause the processor to:
- detect an error while writing data to a tape volume;
- reposition the tape volume for recovering from the error;
- receive, after the repositioning, at least a portion of the data for rewriting the at least a portion of the data to the tape volume;
- determine, after the repositioning, a current position of the tape volume;
- and
- determine, based on the current position of the tape volume, whether the rewrite to the tape volume is allowed.
A computer program product for protecting overwrite of a tape volume, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a controller to cause the controller to perform a method comprising:
- detect, by the controller, an error while writing data to a tape volume;
- reposition the tape volume for recovering from the error;
- receive, after the repositioning, at least a portion of the data for rewriting the at least a portion of the data to the tape volume;
- determine, by the controller after the repositioning, a current position of the tape volume;
- and
- determine, by the controller based on the current position of the tape volume, whether the rewrite to the tape volume is allowed.
Dependencies are inferred from the claim text.