IP Library Granted Patent US 11,635,914
Granted Patent B2
US 11,635,914 · App. 16/942,959 · Granted Apr 25, 2023

Locating data within tape systems using sub dataset headers

Inventors: Tsuyoshi Miyamura (Yokohama, JP); Setsuko Masuda (Tokyo, JP); Keisuke Tanaka (Tokyo, JP)
Assignee: International Business Machines Corporation
G06F3/0659G06F3/0604G06F3/0682G11B5/00813G11B15/087G11B27/107G11B27/34
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,635,914
App. No.
16/942,959
Granted
Apr 25, 2023
Kind
B2
Abstract

Aspects of the present disclosure relate to a method of writing a dataset to a tape, the dataset comprising a plurality of sub datasets, each sub dataset including a plurality of headers and a plurality of records. The method includes storing, in each header of each sub dataset, at least a portion of a record range indicator indicating a range of records included in the dataset.

Claims (49)

1. A method of writing a dataset to a linear file tape system (LFTS) tape, the dataset including a plurality of sub datasets, each sub dataset including a plurality of headers and a plurality of records, the method comprising:

storing, in each header of each sub dataset, a record range indicator indicating a range of records included in the dataset, wherein record range indicators are used to locate target records based on received reposition requests.

2. The method of claim 1 , wherein the method further comprises:

receiving a reposition request indicating a target record for repositioning;

referencing a tape directory to determine that a tape area includes the target record, the tape directory mapping physical areas on the tape to record number ranges;

skimming a predetermined length of the tape area to read each record range indicator stored in each header stored in each sub dataset within the tape area; and

identifying a dataset within the tape area that includes the target record based on the target record being included in a record number range stored in a header of the dataset.

3. The method of claim 2 , further comprising:

receiving a second reposition request indicating a second target record for repositioning;

referencing the tape directory to determine that a second tape area includes the second target record;

skimming a full length of the second tape area to read each record range indicator stored in each header stored in each sub dataset within the second tape area; and

identifying a second dataset within the second tape area that includes the second target record based on the second target record being included in a second record number range stored in a second header of the second dataset.

4. The method of claim 2 , wherein the predetermined length is based on a physical length of the tape.

5. The method of claim 2 , wherein the predetermined length is based on a number of datasets within the tape area.

6. The method of claim 1 , wherein the dataset is stored in a ring buffer with a plurality of other datasets.

7. The method of claim 1 , wherein each header of each respective sub dataset further includes at least a portion of a file marker range indicator indicating a range of file markers included in the dataset.

8. A system comprising:

one or more processors; and

one or more computer-readable storage media collectively storing program instructions which, when executed by the one or more processors, are configured to cause the one or more processor to perform a method of writing a dataset to a linear file tape system (LFTS) tape, the dataset including a plurality of sub datasets, each sub dataset including a plurality of headers and a plurality of records, the method comprising:

storing, in each header of each sub dataset, a record range indicator indicating a range of records included in the dataset, wherein record range indicators are used to locate target records based on received reposition requests.

9. The system of claim 8 , wherein the method performed by the one or more processors further comprises:

receiving a reposition request indicating a target record for repositioning;

referencing a tape directory to determine that a tape area includes the target record, the tape directory mapping physical areas on the tape to record number ranges;

skimming a predetermined length of the tape area to read each record range indicator stored in each header stored in each sub dataset within the tape area; and

identifying a dataset within the tape area that includes the target record based on the target record being included in a record number range stored in a header of the dataset.

10. The system of claim 9 , wherein the method performed by the one or more processors further comprises:

receiving a second reposition request indicating a second target record for repositioning;

referencing the tape directory to determine that a second tape area includes the second target record;

skimming a full length of the second tape area to read each record range indicator stored in each header stored in each sub dataset within the second tape area; and

identifying a second dataset within the second tape area that includes the second target record based on the second target record being included in a second record number range stored in a second header of the second dataset.

11. The system of claim 9 , wherein the predetermined length is based on a physical length of the tape.

12. The system of claim 9 , wherein the predetermined length is based on a number of datasets within the tape area.

13. The system of claim 8 , wherein the dataset is stored in a ring buffer with a plurality of other datasets.

14. The system of claim 8 , wherein each header of each respective sub dataset further includes at least a portion of a file marker range indicator indicating a range of file markers included in the dataset.

15. A computer program product comprising one or more computer readable storage media, and program instructions collectively stored on the one or more computer readable storage media, the program instructions comprising instructions configured to cause one or more processors to perform a method of writing a dataset to a linear file tape system (LFTS) tape, the dataset including a plurality of sub datasets, each sub dataset including a plurality of headers and a plurality of records, the method comprising:

storing, in each header of each sub dataset, a record range indicator indicating a range of records included in the dataset, wherein record range indicators are used to locate target records based on received reposition requests.

16. The computer program product of claim 15 , wherein the method performed by the one or more processors further comprises:

receiving a reposition request indicating a target record for repositioning;

referencing a tape directory to determine that a tape area includes the target record, the tape directory mapping physical areas on the tape to record number ranges;

skimming a predetermined length of the tape area to read each record range indicator stored in each header stored in each sub dataset within the tape area; and

identifying a dataset within the tape area that includes the target record based on the target record being included in a record number range stored in a header of the dataset.

17. The computer program product of claim 16 , wherein the method performed by the one or more processors further comprises:

receiving a second reposition request indicating a second target record for repositioning;

referencing the tape directory to determine that a second tape area includes the second target record;

skimming a full length of the second tape area to read each record range indicator stored in each header stored in each sub dataset within the second tape area; and

identifying a second dataset within the second tape area that includes the second target record based on the second target record being included in a second record number range stored in a second header of the second dataset.

18. The computer program product of claim 16 , wherein the predetermined length is based on a physical length of the tape.

19. The computer program product of claim 15 , wherein the dataset is stored in a ring buffer with a plurality of other datasets.

20. The computer program product of claim 15 , wherein each header of each respective sub dataset further includes at least a portion of a file marker range indicator indicating a range of file markers included in the dataset.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 30, 2020
From: MIYAMURA, TSUYOSHI; MASUDA, SETSUKO; TANAKA, KEISUKE
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 053352/0513 →
Continuity (1)
Related Publication 20220035563A1 · Feb 3, 2022
Cited By (2)
US 12,417,046 US 12,613,635