METHOD OF MANAGING, WRITING, AND READING FILE ON TAPE
First Claim
1. A file system including a tape drive, comprising:
- means for, when a file is to be written onto the tape, detecting, using software which has a detection function for duplicate data, whether another file including data identical to data of the file already exists on the tape;
means for, when the other file exists on the tape, updating a first index of the other file;
means for, after the file is written, adding meta-information including a data starting position and a size of the written file on the tape to the first index and writing in an index partition;
means for creating or updating a second index including meta-information including a data starting position and a size of the written file on the tape; and
means for writing the created or updated second index in an index partition on the tape.
1 Assignment
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.
-
Citations
3 Claims
-
1. A file system including a tape drive, comprising:
-
means for, when a file is to be written onto the tape, detecting, using software which has a detection function for duplicate data, whether another file including data identical to data of the file already exists on the tape; means for, when the other file exists on the tape, updating a first index of the other file; means for, after the file is written, adding meta-information including a data starting position and a size of the written file on the tape to the first index and writing in an index partition; means for creating or updating a second index including meta-information including a data starting position and a size of the written file on the tape; and means for writing the created or updated second index in an index partition on the tape. - View Dependent Claims (2, 3)
-
Specification