Fast locate using imitation reads on tape drives
Abstract
A computer-implemented method, according to one embodiment, includes: receiving a read request for data stored on a magnetic tape, the data having multiple portions. For each portion of the requested data determined as not being located in a cache, a determination is made as to whether performing a locate command or performing a read command a plurality of times will retrieve the portions of the requested data that are not located in the cache in a shorter amount of time. The command determined to retrieve the portions of the requested data that are not located in the cache in the shorter amount of time are issued to a tape drive. Moreover, the portions of the requested data that are not located in the cache are combined with portions of the requested data that are located in the cache. Furthermore, the combined portions are used to satisfy the read request.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 28 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A computer-implemented method, comprising: receiving a read request for data stored on a magnetic tape, the data comprising multiple portions; for each of the portions of the requested data determined as not being located in a cache, determining whether performing a locate command or performing a read command a plurality of times will retrieve the portions of the requested data that are not located in the cache in a shorter amount of time; issuing, to a tape drive, the command determined to retrieve the portions of the requested data that are not located in the cache in the shorter amount of time; combining the portions of the requested data that are not located in the cache with portions of the requested data that are located in the cache; and using the combined portions to satisfy the read request.
- Claim 2Depends on #1
The computer-implemented method as recited in claim 1 , comprising: instructing the tape drive to access, on the magnetic tape, the portions of the requested data determined as not being located in the cache by: determining whether the magnetic tape is already loaded in the tape drive, issuing a request to move the magnetic tape to the tape drive in response to determining that the magnetic tape is not already loaded in the tape drive, and instructing the tape drive to read an index at a beginning of a first partition on the magnetic tape.
- Claim 3Depends on #2
The computer-implemented method as recited in claim 2 , wherein determining whether the magnetic tape is already loaded in the tape drive includes: identifying a tape cartridge in which the magnetic tape is stored.
- Claim 4Depends on #3
The computer-implemented method as recited in claim 3 , wherein issuing a request to move the magnetic tape to the tape drive in response to determining that the magnetic tape is not already loaded in the tape drive includes: selecting the tape drive from one or more other tape drives; and instructing an automated robotic accessor to engage the tape cartridge and physically transport the tape cartridge from a current location to the tape drive.
- Claim 5Depends on #1
The computer-implemented method as recited in claim 1 , wherein the data is stored on the magnetic tape according to a linear tape file system format.
- Claim 6Depends on #1
The computer-implemented method as recited in claim 1 , wherein the cache is an input/output cache.
- Claim 7Independent Claim
A system, comprising: a processor; and logic integrated with the processor, executable by the processor, or integrated with and executable by the processor, the logic being configured to: receive, by the processor, a read request for data stored on a magnetic tape, the data comprising multiple portions; for each of the portions of the requested data determined as not being located in a cache, determine, by the processor, whether performing a locate command or performing a read command a plurality of times will retrieve the portions of the requested data that are not located in the cache in a shorter amount of time; issue, by the processor to a tape drive, the command determined to retrieve the portions of the requested data that are not located in the cache in the shorter amount of time; combine, by the processor, the portions of the requested data that are not located in the cache with portions of the requested data that are located in the cache; and use, by the processor, the combined portions to satisfy the read request.
- Claim 8Depends on #7
The system as recited in claim 7 , the logic being configured to: instruct, by the processor, the tape drive to access, on the magnetic tape, the portions of the requested data determined as not being located in the cache by: determining whether the magnetic tape is already loaded in the tape drive, issuing a request to move the magnetic tape to the tape drive in response to determining that the magnetic tape is not already loaded
Technical Overview & Description
BACKGROUND The present invention relates to data storage systems, and more particularly, this invention relates to reading located data using tape drives. In magnetic storage systems, magnetic transducers read data from and write data onto magnetic recording media. Data is written on the magnetic recording media by moving a magnetic recording transducer to a position over the media where the data is to be stored. The magnetic recording transducer then generates a magnetic field, which encodes the data into the magnetic media. Data is read from the media by similarly positioning the magnetic read transducer and then sensing the magnetic field of the magnetic media. Read and write operations may be independently synchronized with the movement of the media to ensure that the data can be read from and written to the desired location on the media. Accessing data previously written to a magnetic tape typically involves locating the magnetic tape on which the data was written, retrieving the magnetic tape, loading the magnetic tape into a tape drive, aligning a magnetic head in the tape drive with the particular portion of the magnetic tape where the data is written, and actually reading the data. Attempts to reduce data access times have introduced the use of caching in combination with magnetic tape. As data is written to and/or read from magnetic tape, data is temporarily stored in a cache such that it is more easily and quickly accessible. However, as the amount of available space in the cache decreases during use, the data stored in the cache is flushed, thereby freeing the cache to store other data. Accordingly, when writing a particular file that has a size which is larger than the size of the cache, only a portion of the file remains in the cache at any point in time, thereby causing the file to be allocated to memory in discontinuous regions. SUMMARY A computer-implemented method, according to one embodiment, includes: receiving a rea
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (28)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 2017185619 A1 | Data caching based on requestor identity | — | 1 |
Non-Patent Literature (22)
- “Cache Control In A Non-Volatile Memory Device”, An IP.com Prior Art Database Technical Disclosure, IP.com No. IPCOM000147008D, Mar. 4, 2007.
- Abe et al., U.S. Appl. No. 15/824,410, filed Nov. 28, 2017.
- Abe et al., U.S. Appl. No. 16/512,232, filed Jul. 15, 2019.
- Abe et al., U.S. Appl. No. 16/512,237, filed Jul. 15, 2019.
- Banning et al., “Optimizing the Use of a Disk Cache,” IP.com Prior Art Database, Technical Disclosure No. IPCOM00056781D, Feb. 1, 1988, 2 pages.
- Corrected Notice of Allowance from U.S. Appl. No. 16/512,232, dated May 26, 2021.
- Final Office Action from U.S. Appl. No. 16/512,232, dated Feb. 16, 2021.
- Final Office Action from U.S. Appl. No. 16/512,237, dated Feb. 16, 2021.
- G. T. Kishi, “The IBM Virtual Tape Server: Making tape controllers more autonomic,” in IBM Journal of Research and Development, vol. 47, No. 4, pp. 459-469, Jul. 2003.
- International Search Report and Written Opinion from PCT Application No. PCT/IB2018/058688, dated Feb. 20, 2019.
- List of IBM Patents Or Patent Applications Treated As Related.
- Non-Final Office Action from U.S. Appl. No. 15/824,410, dated Feb. 7, 2019.
- Non-Final Office Action from U.S. Appl. No. 16/512,232, dated Sep. 3, 2020.
- Non-Final Office Action from U.S. Appl. No. 16/512,237, dated Sep. 4, 2020.
- Notice of Allowance from U.S. Appl. No. 15/824,410, dated May 15, 2019.
- Notice of Allowance from U.S. Appl. No. 16/512,232, dated Apr. 14, 2021.
- Notice of Allowance from U.S. Appl. No. 16/512,237, dated Apr. 27, 2021.
- Office Action from German Patent Application No. 11 2018 005 316.4, dated Oct. 14, 2020.
- R. H. Katz, “High-performance network and channel-based storage,” In Proceedings of the IEEE, vol. 80, No. 8, pp. 1238-1261, Aug. 1992, doi: 10.1109/5.158597.
- Schwank et al., “Transparent handling of small files with dCache to optimize tape access,” 21st International Conference on Computing in High Energy and Nuclear Physics, Journal of Physics: Conference Series, vol. 664, 2015, pp. 1-4.
- Supplemental Notice of Allowance from U.S. Appl. No. 16/512,237, dated May 21, 2021.
- VERITAS Technologies, “About fast-tape positioning (locate-block) on Solaris,” VERITAS support, Article ID: 000119423, Dec. 5, 2016, pp. 1-2.