File Link Migration via Inode Duplication
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
When a storage server is decommissioned, existing file migration methods fail to update file links, leading to errors as they still point to the old location of the file data, resulting in data accessibility issues.
Innovation Solution
A migration module is implemented to duplicate the directory level hierarchy and file links from the source to the destination location, ensuring that file links are valid and point to the correct location of the file data, thereby eliminating errors and enhancing migration efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If file data is migrated to a new storage server, then data loss is prevented and storage capacity is optimized, but file links become invalid and point to the old location causing access errors
Solution Approach 1:
The patent updates file links to point to the new storage server location before the migration is complete. This preliminary update ensures that file links remain valid throughout the migration process and immediately after, preventing access errors while the data is being transferred from the old to the new storage server.
Solution Approach 2:
The patent introduces a metadata update mechanism that acts as an intermediary between the file data migration and the file link validation. By updating the metadata associated with file links to reflect the new storage location, the system bridges the gap between migrated data and existing file references, ensuring continuous accessibility.
2Reliability
If file links are updated during migration, then data accessibility is maintained, but migration complexity and time increase
Solution Approach 1:
The patent divides the migration process into distinct segments: identifying file links that need updating, updating the metadata for those links, and then migrating the actual file data. This segmentation allows the system to handle link updates and data migration separately and systematically, reducing overall complexity.
Solution Approach 2:
The system automatically identifies and updates file links that point to data being migrated, without requiring manual intervention. The metadata update mechanism self-services by detecting which file links are affected and updating them programmatically, reducing the complexity of manual link management during migration.
3Reliability
If all file links are updated, then complete data accessibility is ensured, but processing time and system resources increase
Solution Approach 1:
The patent updates only the file links that are necessary for accessibility - specifically those that point to data being migrated. Rather than updating all possible file links in the system, it performs partial updates on the subset of links that are actually affected by the migration, reducing processing time and resource consumption.
Solution Approach 2:
The patent applies the update operation locally to specific file links based on their association with migrated data, rather than applying a global update to all file links in the system. This localized approach ensures that only the necessary links are updated, minimizing the time and resources required while maintaining complete accessibility for migrated data.
Data Source
AI summary
File link migration is described. A method may include identifying a first file link referencing a file residing at a first computer system, and identifying, at the first computer system, a first inode data structure referenced by the first file link, the first inode data structure comprising a first link count. The method may also include creating a second inode data structure at a second computer system, wherein the second data structure comprises a second link count, and creating a second file link to reference the second inode data structure at the second computer system. The method may also include, responsive to determining that the first link count matches the second link count, migrating file data referenced by the first data structure to the second computer system.


