File System Block Recovery via Chunk Segmentation and Consistency Validation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional file systems face challenges in maintaining data integrity and availability due to read errors when accessing both primary and duplicate copies of file system blocks, leading to potential data loss and unavailability, especially when encountering double faults during metadata access.

Innovation Solution

The method involves reading each sector of both the primary and duplicate file system blocks, consolidating information from consistent sectors to reconstruct a consistent file system block, and validating the contents using checksums to ensure data integrity and availability without taking the system offline.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional file systems access both primary and duplicate copies of file system blocks, then data redundancy is maintained, but read errors and double faults can still lead to data loss and unavailability

Engineering Contradiction:
Improvedata availabilityVSAvoidread errors
Core Design Contradiction:
ReliabilityVSObject-affected harmful factors

Solution Approach 1:

The file system block is divided into multiple chunks, and each chunk is independently evaluated. This segmentation allows the system to identify and recover only the corrupted portions rather than treating the entire block as lost, thereby maintaining data availability even when read errors occur.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent maintains duplicate copies of file system blocks and uses them for recovery when primary blocks are corrupted. By evaluating chunks from both primary and duplicate copies, the system can reconstruct valid data without complete data loss, enhancing reliability while managing the harmful effects of read errors.

Inventive Principle:
Principle #26Copying

2Reliability

If the system takes file systems offline for recovery operations, then data integrity can be validated and repaired, but system availability and access continuity are reduced

Engineering Contradiction:
Improvedata integrityVSAvoidsystem availability
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system performs chunk evaluation and recovery operations in the background without taking the file system offline. By conducting integrity validation and repair operations preliminarily and concurrently with normal operations, the system maintains both data integrity and continuous availability.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent enables continuous file system access during recovery operations by evaluating and reconstructing chunks in the background. The useful action of data access continues uninterrupted while recovery operations proceed simultaneously, maintaining both integrity and productivity.

Inventive Principle:
Principle #20Continuity of useful action

3Reliability

If all chunks of file system blocks are thoroughly evaluated for recovery, then data recovery completeness is improved, but recovery time and processing overhead increase

Engineering Contradiction:
Improverecovery completenessVSAvoidrecovery time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system evaluates chunks selectively rather than uniformly processing all chunks. By applying partial action only to chunks that show signs of corruption or inconsistency, the system achieves adequate recovery completeness without the time penalty of exhaustive evaluation of every chunk.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

By dividing the file system block into chunks and evaluating them independently, the system can identify and focus recovery efforts on only the corrupted segments. This segmentation enables efficient processing that maintains recovery completeness while minimizing overall recovery time.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS9003227B1Recovering file system blocks of file systems
Publication Date: 2015.04.07 EMC IP HLDG CO LLC
  • US9003227B1 patent drawing
  • US9003227B1 patent drawing
  • US9003227B1 patent drawing

AI summary

A method is used in recovering file system blocks of file systems. A first read error is encountered upon reading a file system block of a file system. The file system block includes a first set of chunks. A second read error is encountered upon reading a duplicate copy of the file system block. The duplicate copy of the file system block includes a second set of chunks. Each chunk of the first and second sets of chunks is evaluated. Based on the evaluation, the file system block is recovered.