Online Metadata Scanner for Storage Systems
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current storage systems face challenges in detecting and correcting metadata inconsistencies, which can lead to data corruption and system failures, especially during high-availability network environments, as existing solutions often require system downtime and manual intervention, and may not detect issues until they cause application errors.
Innovation Solution
A computer-implemented method and system that performs online metadata scanning and correction by checking for metadata inconsistency conditions such as dirty tree entries with invalid logical unit indices, hash tree entries without corresponding DT bits, and DT bits without corresponding hash tree entries, allowing for automatic correction without impacting user I/O or application data access.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If traditional metadata consistency checking is performed, then data integrity is improved, but system availability deteriorates due to required system downtime
Solution Approach 1:
The patent performs metadata consistency checks during the boot-up process before the storage system becomes fully operational. By conducting the scan early in the initialization sequence, the system identifies and corrects metadata inconsistencies before they can affect production operations, thereby maintaining data integrity without requiring scheduled downtime during business hours.
Solution Approach 2:
The patent introduces an intermediary metadata journal that separates the metadata checking process from the production file system operations. The journal allows the system to scan and verify metadata consistency in an isolated manner during boot-up, preventing conflicts with active I/O operations while ensuring data integrity is maintained.
2Reliability
If manual metadata correction is performed, then corruption issues are addressed, but operational complexity increases due to administrator intervention requirements
Solution Approach 1:
The patent implements automated metadata consistency checking and correction that executes autonomously during the storage system boot-up process. The system automatically scans the metadata journal, identifies inconsistencies such as dirty tree entries without corresponding hash tree entries, and performs corrections without requiring administrator intervention, thereby reducing operational complexity while maintaining reliable corruption detection.
Solution Approach 2:
The patent establishes a feedback mechanism where the metadata scan results automatically trigger correction procedures. The system continuously monitors metadata consistency through the journal and self-corrects identified issues, creating a closed-loop system that reduces manual intervention while maintaining high reliability in corruption detection and prevention.
3Measurement precision
If comprehensive metadata scanning is performed, then inconsistency detection is improved, but processing time increases
Solution Approach 1:
The patent performs comprehensive metadata scanning during the boot-up process before the system handles production workloads. By utilizing this preliminary time window, the system can execute thorough consistency checks across all metadata structures without impacting user-facing performance, achieving high measurement precision in inconsistency detection while minimizing perceived processing time for users.
Solution Approach 2:
The patent segments the metadata scanning process into structured phases during boot-up, organizing the comprehensive scan into manageable portions that systematically check different metadata components. This segmentation allows the system to perform thorough inconsistency detection while maintaining efficient processing through organized, modular scan operations rather than monolithic processing.
Data Source
AI summary
A storage system is configured to comprise a processor in operable communication with a storage device and a metadata journal comprising metadata configured to store information associated with a change to be made to information stored on the storage device. While the storage system is booted up and responsive to I/O requests from a host, a scan is performed of a first portion of metadata that is loaded into storage system memory during the bootup, to check for existence of a metadata inconsistency condition comprising at least one of: (a) dirty tree (DT) entries in the metadata associated with an invalid logical unit (LU) index; (b) hash tree (HT) entries in the metadata which do not have corresponding DT bits; and (c) DT bits set without having a corresponding HT entry. Based on the results of the first scan, a determination is made about whether a first metadata inconsistency condition exists.


