File System Migration Progress Estimation via In-Use Space Traversal

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional data migration techniques in large-scale storage systems are inefficient, often requiring significant downtime and relying on arbitrary estimation methods that fluctuate, leading to frustration for users who need accurate progress tracking and remaining time estimates during data migration from a source to a target file system.

Innovation Solution

A method that initializes a target file system and traverses the source file system's hierarchy to estimate data migration progress by examining in-use space, identifying nested file systems, and calculating data size based on system calls, allowing for real-time updates of migration progress attributes such as percentage complete and time remaining.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If conventional estimation techniques are used based on directory entries and average depth, then the estimation method is simple to implement, but the estimation accuracy fluctuates significantly during migration

Engineering Contradiction:
Improvemigration progress estimation accuracyVSAvoidestimation method complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent replaces conventional mechanical counting methods (directory entries, subdirectory counts) with a filesystem-level measurement system that uses in-use space examination and system calls to obtain actual data size information. This substitution enables accurate progress estimation without significantly increasing implementation complexity.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The patent changes the estimation parameter from structural metrics (number of directories, average depth) to space-based metrics (in-use space, data size). By examining the actual space occupied by migrated data versus total data size, the system achieves stable and accurate progress estimation that reflects true migration status.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If the source file system is taken offline for migration, then data consistency is ensured, but user access is disrupted and downtime increases

Engineering Contradiction:
Improvedata consistencyVSAvoiduser access continuity
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The patent performs preliminary actions by initializing the target filesystem and establishing the migration framework before actual data migration begins. Progress estimation mechanisms are pre-configured to continuously monitor migration status, enabling the system to maintain source filesystem availability while ensuring data consistency through controlled migration processes.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces a migration management system as an intermediary between the source and target filesystems. This intermediary handles data transfer while allowing the source filesystem to remain online and accessible. The system uses system calls and space examination to monitor progress without disrupting user access to either filesystem.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Measurement precision

If nested file systems are not identified during traversal, then the traversal process is simpler, but the total data size estimation is inaccurate

Engineering Contradiction:
Improvetotal data size estimationVSAvoidtraversal process complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent applies the nesting principle by implementing a traversal mechanism that detects and handles nested filesystems within the directory structure. When a mount point is identified, the system recursively traverses the nested filesystem, examining in-use space at each level. This nested traversal approach ensures accurate total data size estimation by capturing data from all hierarchical levels while maintaining a manageable process through systematic exploration.

Inventive Principle:
Principle #7Nested doll (Nesting)

Data Source

PatentUS9612766B2Systems and methods for shadow migration progress estimation
Publication Date: 2017.04.04 ORACLE INT CORP
  • US9612766B2 patent drawing
  • US9612766B2 patent drawing
  • US9612766B2 patent drawing

AI summary

Implementations described and claimed herein provide systems and methods for estimating migration progress. In one implementation, a target file system is initialized to which to migrate existing data from a source file system. An initial amount of data to be migrated to the target file system is estimated based on an examination of in-use space at a root of the source file system. Any mount points for nested file systems in the source file system are identified. An amount of data for each of the nested file systems is estimated based on an examination of in-use space at the mount point for the nested file system. An estimated total amount of data to be migrated from the source file system to the target file system is determined based on the initial amount of data to be migrated and the amount of data for each of the nested file systems.