Repositioning using cut and paste segments
US-11437070-B1 · Sep 6, 2022 · US
US11789795B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-11789795-B2 |
| Application number | US-202117453878-A |
| Country | US |
| Kind code | B2 |
| Filing date | Nov 8, 2021 |
| Priority date | Nov 8, 2021 |
| Publication date | Oct 17, 2023 |
| Grant date | Oct 17, 2023 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
In an approach to using a cut and paste segment for reading an sHKDS, a request to reposition a tape media in a tape drive is received. Responsive to encountering an error reading an sHKDS while attempting to reposition the tape media, one segment of a plurality of segments from a data set cut and paste error recovery procedure (ERP) is used for an sHKDS cut and paste ERP. Responsive to recovering the sHKDS using the sHKDS cut and paste ERP, the one segment reserved for the sHKDS cut and paste ERP is released to the data set cut and paste ERP.
Opening claim text (preview).
What is claimed is: 1. A computer-implemented method for using a cut and paste segment for reading a standard Housekeeping Data Set (sHKDS), the computer-implemented method comprising: receiving, by one or more computer processors, a request to reposition a tape media in a tape drive; responsive to encountering an error reading an sHKDS while attempting to reposition the tape media, using, by the one or more computer processors, one segment of a plurality of segments from a data set cut and paste error recovery procedure (ERP) for an sHKDS cut and paste ERP; and responsive to recovering the sHKDS using the sHKDS cut and paste ERP, releasing, by the one or more computer processors, the one segment reserved for the sHKDS cut and paste ERP to the data set cut and paste ERP. 2. The computer-implemented method of claim 1 , wherein responsive to encountering the error reading the sHKDS, using the one segment of the plurality of segments from the data set cut and paste ERP for the sHKDS cut and paste ERP comprises: restricting, by the one or more computer processors, a number of attempts to recover the sHKDS using the sHKDS cut and paste ERP to a minimum number of attempts; responsive to recovering the sHKDS using the sHKDS cut and paste ERP within the minimum number of attempts, releasing, by the one or more computer processors, the one segment reserved for the sHKDS cut and paste ERP to the data set cut and paste ERP; and responsive to failing to recover the sHKDS using the sHKDS cut and paste ERP within the minimum number of attempts, executing, by the one or more computer processors, repositioning of the tape media without the sHKDS. 3. The computer-implemented method of claim 2 , wherein restricting the number of attempts to recover the sHKDS using the sHKDS cut and paste ERP to the minimum number of attempts further comprises: responsive to encountering the error reading the sHKDS upon receipt of the request to reposition the tape media, wherein the request to reposition the tape media is from a position near a beginning of the tape media to a target record position, restricting, by the one or more computer processors, the number of attempts to recover the sHKDS using the sHKDS cut and paste ERP to the minimum number. 4. The computer-implemented method of claim 2 , wherein restricting the number of attempts to recover the sHKDS using the cut and paste ERP of the sHKDS to the minimum number further comprises: responsive to encountering the error reading the sHKDS upon receipt of the request to reposition the tape media, wherein the request to reposition the tape media is to a target position near a beginning of the tape media, restricting, by the one or more computer processors, the number of attempts to recover the sHKDS using the sHKDS cut and paste ERP to the minimum number. 5. The computer-implemented method of claim 2 , wherein the minimum number is not greater than 3. 6. The computer-implemented method of claim 1 , wherein the sHKDS is stored in a housekeeping area of the tape media and is read first when the tape media is loaded into the tape drive. 7. The computer-implemented method of claim 1 , wherein the plurality of segments from the data set cut and paste ERP is 16 segments. 8. A computer program product for using a cut and paste segment for reading a standard Housekeeping Data Set (sHKDS), the computer program product comprising one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions including instructions to: receive a request to reposition a tape media in a tape drive; responsive to encountering an error reading an sHKDS while attempting to reposition the tape media, use one segment of a plurality of segments from a data set cut and paste error recovery procedure (ERP) for an sHKDS cut and paste ERP; and responsive to recovering the sHKDS using the sHKDS cut and paste ERP, release the one segment reserved for the sHKDS cut and paste ERP to the data set cut and paste ERP. 9. The computer program product of claim 8 , wherein responsive to encountering the error reading the sHKDS while attempting to reposition the tape media, use the one segment of the plurality of segments from the data set cut and paste error recovery procedure (ERP) for the sHKDS cut and paste ERP further comprises one or more of the following program instructions, stored on the one or more computer readable storage media, to: restrict a number of attempts to recover the sHKDS using the sHKDS cut and paste ERP to a minimum number of attempts; responsive to recovering the sHKDS using the sHKDS cut and paste ERP within the minimum number of attempts, release the one segment reserved for the sHKDS cut and paste ERP to the data set cut and paste ERP; and responsive to failing to recover the sHKDS using the sHKDS cut and paste ERP within the minimum number of attempts, execute repositioning of the tape media without the sHKDS. 10. The computer program product of claim 9 , wherein restrict the number of attempts to recover the sHKDS using the sHKDS cut and paste ERP to the minimum number of attempts further comprises one or more of the following program instructions, stored on the one or more computer readable storage media, to: responsive to encountering the error reading the sHKDS upon receipt of the request to reposition the tape media, wherein the request to reposition the tape media is from a position near a beginning of the tape media to a target record position, restrict the number of attempts to recover the sHKDS using the sHKDS cut and paste ERP to the minimum number. 11. The computer program product of claim 9 , wherein restrict the number of attempts to recover the sHKDS using the sHKDS cut and paste ERP to the minimum number of attempts further comprises one or more of the following program instructions, stored on the one or more computer readable storage media, to: responsive to encountering the error reading the sHKDS upon receipt of the request to reposition the tape media, wherein the request to reposition the tape media is to a target position near a beginning of the tape media, restricting, by the one or more computer processors, the number of attempts to recover the sHKDS using the sHKDS cut and paste ERP to the minimum number. 12. The computer program product of claim 9 , wherein the minimum number is not greater than 3. 13. The computer program product of claim 8 , wherein the sHKDS is stored in a housekeeping area of the tape media and is read first when the tape media is loaded into the tape drive. 14. The computer program product of claim 8 , wherein the plurality of segments from the data set cut and paste ERP is 16 segments. 15. A computer system for using a cut and paste segment for reading a standard Housekeeping Data Set (sHKDS), the computer system comprising: one or more computer processors; one or more computer readable storage media; and program instructions stored on the one or more computer readable storage media for execution by at least one of the one or more computer processors, the stored program instructions including instructions to: receive a request to reposition a tape media in a tape drive; responsive to encountering an error reading an sHKDS while attempting to reposition the tape media, use one segment of a plurality of segments from a data set cut and paste error recovery procedure (ERP) for an sHKDS cut and paste ERP; and responsive to recovering the sHKDS using the sHKDS cut and paste ERP, release the one segment reserved for the sHKDS cut and paste ERP to the data set cut and pa
in a storage system, e.g. in a DASD or network based storage system (drivers for digital recording or reproducing units G06F3/06; circuits for error detection or correction within digital recording or reproducing units G11B20/18; for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS], H04L67/1097) · CPC title
in relation to data integrity, e.g. data losses, bit errors · CPC title
Command handling arrangements, e.g. command buffers, queues, command scheduling · CPC title
Tape device · CPC title
Remedial or corrective actions (recovery from an exception in an instruction pipeline G06F9/3861; by retry G06F11/1402; for recovering from a failure of a protocol instance or entity H04L69/40) · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.