Hierarchical Storage File Modification on Magnetic Tape
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In hierarchical storage management, accessing data from secondary storage, such as magnetic tape, is inefficient due to increased read access times as data extents become more dispersed, and appending entire files upon minor modifications leads to excessive storage consumption.
Innovation Solution
A method that detects file modifications and appends only the modified portions to the same tape if it's loaded, or the entire file to a different tape if not loaded, optimizing access times and storage usage.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If files are appended to secondary storage after modification, then data is preserved, but read access times increase due to dispersed data extents
Solution Approach 1:
The patent segments the file update operation into two distinct paths: (1) append-only mode when tape is available, which preserves data reliability by appending modified portions to the end of the file, and (2) rewrite mode when tape is unavailable, which maintains read performance by overwriting the entire file as a single extent. This segmentation allows the system to balance between data preservation and access speed based on storage availability.
Solution Approach 2:
The patent implements dynamic behavior by monitoring the availability of the secondary storage device (tape) and automatically adjusting the file update strategy. When the tape is available, the system uses append operations to maintain data preservation. When the tape is unavailable or the file is recalled to primary storage, the system dynamically switches to rewriting the entire file as a single extent, thereby optimizing read access times. This dynamic adaptation resolves the contradiction between data preservation and access speed.
2Reliability
If entire files are appended upon modification, then data integrity is maintained, but storage space is excessively consumed
Solution Approach 1:
The patent extracts only the modified portions of files and appends them to the secondary storage, rather than appending entire files. This is achieved by detecting file modifications and selectively transferring only the changed data segments to the tape storage. By taking out and transferring only the necessary modified portions, the system maintains data integrity while significantly reducing the storage space consumed on secondary storage devices.
3Loss of time
If files are kept as single extents on the same tape, then read access times are reduced, but storage flexibility is limited
Solution Approach 1:
The patent employs dynamic storage management that adapts file storage format based on operational context. When files are actively accessed from primary storage, they are maintained as single extents to optimize read access times. When files are archived to secondary storage, the system dynamically switches to append-only mode with multiple extents, providing storage flexibility and capacity expansion. This dynamic approach allows the system to optimize for performance when needed while maintaining flexibility and scalability during archival operations.
Data Source
AI summary
A computer-implemented method for migrating file data in a hierarchical storage environment includes: detecting that a file recalled from a magnetic tape to a primary storage device was modified; determining whether the magnetic tape from which the file was recalled is loaded in a tape drive upon detecting that the file was modified; responsive to determining that the magnetic tape from which the file was recalled is loaded in the tape drive upon detecting that the file was modified, appending only a modified portion of the file to the magnetic tape; and responsive to determining that the magnetic tape from which the file was recalled is not loaded in the tape drive upon detecting that the file was modified, appending the file in its entirety, including the modified portion of the file and any unmodified portions of the file, to a different magnetic tape.


