Tape Copy Utility Preserving File System Metadata

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current tape copying utilities fail to create an identical copy of a tape cartridge, as they do not preserve file system structure, metadata, and layout, and cannot handle cartridge-specific and dependent content, leading to data inconsistencies and loss of file system format validity.

Innovation Solution

A tape copy utility that reads data blocks from a source tape, identifies and adapts file system metadata to match the destination cartridge, ensuring a consistent file system format, and writes the data blocks in the same order, preserving all information including deleted files and rollback data, using multi-threading and buffering for efficient processing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional tape copying utilities are used to copy data from source tape to destination tape, then data transfer is achieved, but file system structure, metadata, and layout are not preserved, leading to data inconsistencies and loss of file system format validity

Engineering Contradiction:
Improvefile system format validityVSAvoidmetadata and file system structure
Core Design Contradiction:
ReliabilityVSLoss of information

Solution Approach 1:

The patent segments the tape data into distinct components: file system metadata blocks and data blocks. The copying process treats these segments differently - metadata blocks are read, adapted to the destination cartridge specifications, and written back, while data blocks are copied directly. This segmentation allows preservation of file system structure while enabling the copy operation.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies parameter changes by adapting metadata block content to match the destination cartridge's specific parameters and specifications. The metadata is modified to reflect the destination cartridge's identity, capacity, and format parameters, ensuring the copied tape is valid for the destination hardware while preserving the logical file system structure.

Inventive Principle:
Principle #35Parameter changes

2Productivity

If a direct copy of tape data is performed without adaptation, then copying speed is improved, but cartridge-specific content becomes inconsistent, rendering the file system invalid on the destination cartridge

Engineering Contradiction:
Improvecopying speedVSAvoidcartridge-specific content consistency
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent divides the data stream into metadata blocks and data blocks, processing them through different pathways. Data blocks are copied directly for speed, while metadata blocks are extracted, adapted to destination cartridge parameters, and rewritten. This segmentation enables high-speed copying of bulk data while ensuring reliability through targeted adaptation of critical metadata.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary processing step for metadata blocks where the content is read, adapted to match destination cartridge specifications, and then written back. This intermediary adaptation layer ensures cartridge-specific content consistency without significantly impacting overall copying speed, as metadata blocks represent a small fraction of total data.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Device complexity

If all data blocks are processed identically during copying, then processing simplicity is maintained, but file system metadata blocks with cartridge-specific content are not properly adapted, leading to data inconsistencies

Engineering Contradiction:
Improveprocessing logicVSAvoidcartridge-dependent metadata
Core Design Contradiction:
Device complexityVSLoss of information

Solution Approach 1:

The patent implements segmentation by identifying and separating metadata blocks from data blocks based on their structure and content characteristics. This segmentation enables the system to apply different processing logic: simple direct copying for data blocks and adaptive processing for metadata blocks, thereby preserving cartridge-specific information while maintaining overall processing efficiency.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies parameter changes specifically to metadata blocks by detecting cartridge-specific content and modifying it to match the destination cartridge's parameters. This selective parameter adaptation ensures that file system metadata remains valid and consistent with the destination hardware while avoiding unnecessary processing of data blocks.

Inventive Principle:
Principle #35Parameter changes

4Quantity of substance

If the entire tape is overwritten to reclaim previously written areas, then data reuse is achieved, but the sequential access limitation of tape is exacerbated, increasing the time required for data operations

Engineering Contradiction:
Improveusable storage spaceVSAvoiddata access time
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The patent applies preliminary action by performing file system metadata updates and cartridge-specific content adaptation during the initial copy operation itself, rather than requiring a subsequent full-tape overwrite. This preliminary handling of metadata ensures the file system is immediately valid and accessible on the destination cartridge, eliminating the need for time-consuming sequential overwrites to reclaim space or validate the file system.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS8675296B2Creating an identical copy of a tape cartridge
Publication Date: 2014.03.18 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US8675296B2 patent drawing
  • US8675296B2 patent drawing
  • US8675296B2 patent drawing

AI summary

Embodiments of the invention relate to creating an identical copy of a data storage tape cartridge. In one aspect, data contents of a source tape cartridge are copied to a destination tape cartridge. The source tape being formatted by a file system and includes at least one file system metadata block. Data blocks are read from the source tape to a memory buffer. Whether the blocks read are file system metadata blocks and whether the metadata blocks include cartridge-specific and/or cartridge-dependent content is determined. The content is adapted to the destination cartridge, thereby creating consistent file system metadata on the destination tape. The buffered blocks are written to the destination tape, thereby creating a file system on the destination tape that is a physical copy of the file system and data contents on the source tape.