Magnetic tape rewind overwrite data protection
AssigneeInternational Business Machines Corporation
InventorRandolph E. Stiarwalt
Life of this patent
Estimating the term…
Abstract
A computer-implemented method for preventing overwriting of data, e.g., on a magnetic medium, includes receiving a write command to write to a magnetic tape. The current location of the magnetic tape is determined. A determination is also made as to whether data corresponding to the write command is at least one of: a size and type specified for a block at the current location. Execution of the write command is disallowed in response to determining that the data corresponding to the write command is not of the specified size and/or type.
Claims20
A computer-implemented method, comprising:
- receiving a write command to write to a magnetic tape;
- determining a current location of the magnetic tape;
- determining whether data corresponding to the write command is at least one of:
- a size and type specified for a block at the current location;
- and
- disallowing execution of the write command in response to determining that the data corresponding to the write command is not of the specified size and/or type.
A system, comprising:
- a processor and logic integrated with the processor, executable by the processor, or integrated with and executable by the processor, the logic being configured to:
- receive a write command to write to a magnetic tape;
- determine a current location of the magnetic tape;
- determine whether data corresponding to the write command is at least one of:
- a size and type specified for a block at the current location;
- and
- disallow execution of the write command in response to determining that the data corresponding to the write command is not of the specified size and/or type.
A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions readable and/or executable by a controller to cause the controller to:
- receive, by the controller, a write command to write to a magnetic tape;
- determine, by the controller, a current location of the magnetic tape;
- determine, by the controller, whether data corresponding to the write command is at least one of:
- a size and type specified for a block at the current location;
- and
- disallow, by the controller, execution of the write command in response to determining that the data corresponding to the write command is not of the specified size and/or type.
Dependencies are inferred from the claim text.