METHOD OF MANAGING, WRITING, AND READING FILE ON TAPE
First Claim
1. A method for managing a file on a tape in a file system, the method comprising:
- in response to a request to write a first file to a tape, detecting whether a second file including data identical to data of the first file already exists on the tape;
if the second file exists on the tape, updating a first index of the second file; and
in response to completing the write of the first file to the tape, adding metadata, including a data starting position and a size of the first file, to the first index.
2 Assignments
0 Petitions
Accused Products
Abstract
Managing a file on a tape. In response to a request to write a first file to a tape, whether a second file including data identical to the first file already exists on the tape is detected. If the second file exists, a first index of the second file is updated. After completing the write of the first file, metadata, including data starting position and size of the first file, is added to the first index. In response to a request to read the first or second files, the metadata of the first and second indexes are read. Based on the metadata, which of the first or second files can be accessed faster from a current head position is determined. The first file or the second file that can be accessed faster is then read from the tape.
21 Citations
11 Claims
-
1. A method for managing a file on a tape in a file system, the method comprising:
-
in response to a request to write a first file to a tape, detecting whether a second file including data identical to data of the first file already exists on the tape; if the second file exists on the tape, updating a first index of the second file; and in response to completing the write of the first file to the tape, adding metadata, including a data starting position and a size of the first file, to the first index. - View Dependent Claims (2, 3, 4)
-
-
5. A method of writing a file onto a tape in a file system, comprising:
-
in response to a request to write a first file to a tape, detecting whether a second file including data identical to data of the first file already exists on the tape; writing the first file onto the tape; and if the second file exists on the tape, updating metadata of a first index of the second file to include a data starting position and a size of the first file on the tape. - View Dependent Claims (6, 7, 8)
-
-
9. A method of reading a file from a tape in a file system, comprising:
-
in response to a request to read a first file from a tape, detecting whether other data identical to data of the first file exists on the tape; if other identical data exists on the tape, determining which of the data of the first file and the other identical data can be accessed faster from a current head position; and reading, from the tape, the data of the first file or the other identical data that can be accessed faster. - View Dependent Claims (10, 11)
-
Specification