# US 11,152,018 B1 · Optimized tape unmount operation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 11,152,018 B1
- Document ID: US11152018B1
- Status: Granted
- Kind: B1
- Application number: 17/083,352
- Filed: 2020-10-29
- Granted: 2021-10-19
- Earliest claimed: 2020-10-29
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Tohru Hasegawa; Tsuyoshi Miyamura; Shinsuke Mitsuma; Hiroshi Itagaki; Noriko Yamamoto; Sosuke Matsui
- Web page: https://patentgrep.com/patent/US11152018B1

## CPC

- G11B 5/00813: {magnetic tapes}
- G11B 27/107: {of operating tapes}
- G06F 16/13: File access structures, e.g. distributed indices (arrangements of input from, or output to, record carriers G06F3/06)
- G11B 5/86: Re-recording, i.e. transcribing information from one magnetisable record carrier on to one or more similar or dissimilar record carriers {(by varying the order of the information G11B27/029, G11B27/036)}
- G11B 15/32: through the reels or cores on to which the record carrier is wound
- G11B 15/43: Control or regulation of mechanical tension of record carrier, e.g. tape tension
- G11B 15/66: Threading; Loading; Automatic self-loading
- G11B 20/1201: {on tapes}
- G11B 27/309: {Table of contents}
- G11B 27/328: {on a tape [TTOC]}
- G11B 27/34: Indicating arrangements {(indicating means incorporated in magazine or cassette G11B23/046 and G11B23/0875; indicating measured values in general G01D)}
- G11B 2020/10851: {Erasing data on the record carrier}
- G11B 2020/10898: {Overwriting or replacing recorded data}
- G11B: INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER (recording measured values in a way that does not require playback through a transducer G01D9/00; recording or playback apparatus using mechanically marked tape, e.g. punched paper tape, or using unit records, e.g. punched or magnetically marked cards G06K; transferring data from one type of record carrier to another G06K1/18; circuits for coupling output of reproducer to radio receiver H04B1/20; gramophone pick-ups or like acoustic electromechanical transducers or circuits therefor H04R)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method for indexing a tape for unmounting from a tape drive. The computer-implemented method includes: receiving a request to unmount the tape from the tape drive, wherein the tape includes an index partition and a data partition, determining that an update to the tape is not reflected in any data index written in the data partition, appending a new data index at the end of the last written data file in the data partition, wherein the new data index includes information associated with the update to the tape, unthreading the tape from the tape drive, wherein unthreading the tape from the tape drive is performed at low tension writing a metadata index to an ancillary storage device, wherein the metadata index includes information associated with the update to the tape.

## Claims

### Claim 1

A computer-implemented method for unmounting a tape from a tape drive, comprising:
receiving a request to unmount the tape from the tape drive, wherein the tape includes an index partition and a data partition;
determining that an update to the tape is not reflected in any data index written in the data partition;
appending, in response to determining that the update to the tape is not reflected in any data index written in the data partition, a new data index at the end of the last written data file in the data partition, wherein the new data index includes information associated with the update to the tape;
unthreading, after appending the new data index at the end of the last written data file in the data partition, the tape from the tape drive, wherein unthreading the tape from the tape drive comprises:
winding the tape to the end of the tape; and
winding the tape at a tension below a predetermined threshold from the end of the tape to the beginning of the tape; and
writing a metadata index to an ancillary storage device, wherein the metadata index includes information associated with the update to the tape.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising:
receiving a request to export file system data associated with the tape and stored on the ancillary storage device; and
determining whether a current metadata index written to the index partition of the tape includes information associated with the update to the tape.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, further comprising:
responsive to determining that the current metadata index written to the index partition of the tape does not include information associated with the update to the tape and prior to exporting the file system data stored on the ancillary storage device:
loading the tape to the tape drive; and
overwriting the current metadata index written to the index partition of the tape with the metadata index stored on the ancillary storage device.

### Claim 4 (depends on 2)

The computer-implemented method of claim 2, further comprising:
deleting, responsive to determining that the current metadata index written to the index partition of the tape does include information associated with the update to the tape, the metadata index from the ancillary storage device.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the ancillary storage device is a hard disk drive.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein winding the tape to the end of the tape includes winding the tape onto at least one tape drive reel.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein winding the tape at a tension below a predetermined threshold from the end of the tape to the beginning of the tape includes winding that tape onto at least one tape cartridge reel.

### Claim 8

A computer program product for unmounting a tape from a tape drive, 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 unmount the tape from the tape drive, wherein the tape includes an index partition and a data partition;
determine that an update to the tape is not reflected in any data index written in the data partition;
append, in response to determining that the update to the tape is not reflected in any data index written in the data partition, a new data index at the end of the last written data file in the data partition, wherein the new data index includes information associated with the update to the tape;
unthread, after appending the new data index at the end of the last written data file in the data partition, the tape from the tape drive, wherein unthreading the tape from the tape drive comprises instructions to:
wind the tape to the end of the tape; and
wind the tape at a tension below a predetermined threshold from the end of the tape to the beginning of the tape; and
write a metadata index to an ancillary storage device, wherein the metadata index includes information associated with the update to the tape.

### Claim 9 (depends on 8)

The computer program product of claim 8, further comprising:
receive a request to export file system data associated with the tape and stored on the ancillary storage device; and
determine whether a current metadata index written to the index partition of the tape includes information associated with the update to the tape.

### Claim 10 (depends on 9)

The computer program product of claim 9, further comprising:
responsive to determining that the current metadata index written to the index partition of the tape does not include information associated with the update to the tape and prior to exporting the file system data stored on the ancillary storage device:
load the tape to the tape drive; and
overwrite the current metadata index written to the index partition of the tape with the metadata index stored on the ancillary storage device.

### Claim 11 (depends on 9)

The computer program product of claim 9, further comprising:
delete, responsive to determining that the current metadata index written to the index partition of the tape does include information associated with the update to the tape, the metadata index from the ancillary storage device.

### Claim 12 (depends on 8)

The computer program product of claim 8, wherein the ancillary storage device is a hard disk drive.

### Claim 13 (depends on 8)

The computer program product of claim 8, wherein winding the tape to the end of the tape includes winding the tape onto at least one tape drive reel.

### Claim 14 (depends on 8)

The computer program product of claim 8, wherein winding the tape at a tension below a predetermined threshold from the end of the tape to the beginning of the tape includes winding that tape onto at least one tape cartridge reel.

### Claim 15

A computer system for faster unmount of a tape from a tape drive, the computer system comprising:
one or more computer processors;
one or more computer readable storage media;
computer program instructions;
the computer program instructions being stored on the one or more computer readable storage media for execution by the one or more computer processors; and
the computer program instructions including instructions to:
receive a request to unmount the tape from the tape drive, wherein the tape includes an index partition and a data partition;
determine that an update to the tape is not reflected in any data index written in the data partition;
append, in response to determining that the update to the tape is not reflected in any data index written in the data partition, a new data index at the end of the last written data file in the data partition, wherein the new data index includes information associated with the update to the tape;
unthread, after appending the new data index at the end of the last written data file in the data partition, the tape from the tape drive, wherein unthreading the tape from the tape drive comprises instructions to:
wind the tape to the end of the tape; and
wind the tape at a tension below a predetermined threshold from the end of the tape to the beginning of the tape; and
write a metadata index to an ancillary storage device, wherein the metadata index includes information associated with the update to the tape.

### Claim 16 (depends on 15)

The computer system of claim 15, further comprising:
receive a request to export file system data associated with the tape and stored on the ancillary storage device; and
determine whether a current metadata index written to the index partition of the tape includes information associated with the update to the tape.

### Claim 17 (depends on 16)

The computer system of claim 16, further comprising:
responsive to determining that the current metadata index written to the index partition of the tape does not include information associated with the update to the tape and prior to exporting the file system data stored on the ancillary storage device:
load the tape to the tape drive; and
overwrite the current metadata index written to the index partition of the tape with the metadata index stored on the ancillary storage device.

### Claim 18 (depends on 16)

The computer system of claim 16, further comprising:
delete, responsive to determining that the current metadata index written to the index partition of the tape does include information associated with the update to the tape, the metadata index from the ancillary storage device.

### Claim 19 (depends on 15)

The computer system of claim 15, wherein the ancillary storage device is a hard disk drive.

### Claim 20 (depends on 15)

The computer system of claim 15, wherein winding the tape to the end of the tape includes winding the tape onto at least one tape drive reel.
