Transparent File System Migration via Inode Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing file system migration techniques face challenges in consolidating multiple source file systems into a single destination system without the need for a large and complex inode number mapping table, especially when source files can have the same inode numbers, leading to fragmentation and increased overhead.

Innovation Solution

The proposed solution involves splitting the inode number spaces into segments and using a deterministic mapping mechanism to allocate unique destination inode numbers, allowing for efficient consolidation of multiple source file systems into a single destination system, either in series or parallel, without the need for a per-inode mapping table.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a large inode number mapping table is used to consolidate multiple source file systems into a single destination system, then all source files can be mapped to unique destination inode numbers, but the device complexity and overhead increase significantly

Engineering Contradiction:
Improveunique destination inode number mappingVSAvoidinode number mapping table complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent divides the inode number space into multiple segments, where each segment can independently map inode numbers from different source file systems to the destination file system. This segmentation eliminates the need for a single large mapping table, reducing complexity while maintaining unique mapping capability across all source files.

Inventive Principle:
Principle #1Segmentation

2Productivity

If multiple source file systems are consolidated into a single destination system, then storage efficiency improves, but inode number fragmentation increases

Engineering Contradiction:
Improvestorage consolidation efficiencyVSAvoidinode number space fragmentation
Core Design Contradiction:
ProductivityVSStability of the object's composition

Solution Approach 1:

By segmenting the inode number space into distinct ranges allocated to different source file systems, the patent prevents fragmentation. Each source file system's inode numbers are mapped to a dedicated segment in the destination, ensuring orderly allocation and eliminating the intermingling that causes fragmentation.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies different inode number segment allocations to different source file systems based on their specific needs and characteristics. Each source file system receives an appropriate inode number segment that matches its size and growth requirements, optimizing local resource allocation while maintaining global consolidation efficiency.

Inventive Principle:
Principle #3Local quality

3Measurement precision

If a per-inode mapping table is used for each source file system, then precise tracking is achieved, but the overhead and memory consumption increase

Engineering Contradiction:
Improvesource file tracking accuracyVSAvoidmapping table memory consumption
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent merges the tracking mechanism by using a single segmented inode number space at the destination file system that inherently tracks all source files. Instead of maintaining separate mapping tables for each source file system, the segmented destination inode space provides unified tracking with reduced memory overhead.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS11971848B2Efficient transparent switchover of file system consolidation migrations
Publication Date: 2024.04.30 DELL PROD LP
  • US11971848B2 patent drawing
  • US11971848B2 patent drawing
  • US11971848B2 patent drawing

AI summary

A system can migrate a source file system on a first computer to a destination file system on a second computer. The system can receive, at the second computer, a request from a client computer that indicates a file system operation, and that references a source file handle of the source file system that comprises an identifier of the source file system. The system can identify the destination file system based on the identifier of the source file system. The system can determine, from a source inode number of the source file handle, a source inode number segment. The system can determine, from the source inode number segment, a destination inode number segment. The system can determine, from the destination inode number segment, a destination inode number. The system can perform the file system operation on the destination file system using the destination inode number and the identifier of the destination file system.