RAID-5 Checksum Verification for Silent Data Corruption Repair

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current RAID schemes, such as RAID-5, are inadequate in detecting and repairing silent data corruption in file systems, as they rely on parity blocks that may fail to reconstruct data accurately when multiple blocks are corrupted.

Innovation Solution

A method and system that determine the number of non-parity disks, select a combination of n-1 non-parity disks, reconstruct a physical block using the parity block and physical blocks, and checksum the reconstructed logical block to identify and potentially repair corrupted data blocks within a storage pool.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If RAID-5 parity blocks are used to replicate data, then data availability is improved, but the ability to detect and repair silent data corruption deteriorates

Engineering Contradiction:
Improvedata availabilityVSAvoiddata corruption detection accuracy
Core Design Contradiction:
ReliabilityVSMeasurement precision

Solution Approach 1:

The patent implements checksums that provide feedback about data integrity. When data is read back from storage, checksums are calculated and compared against stored checksum values to detect corruption. This feedback mechanism enables the system to identify silent data corruption that traditional RAID-5 parity blocks cannot detect.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent replaces the mechanical/redundant parity-based reconstruction approach with a checksum-based verification approach. Instead of relying on parity blocks to reconstruct data (which can fail silently), the system uses checksums to verify data integrity and detect corruption, substituting the verification function with a more reliable cryptographic or algorithmic checksum mechanism.

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

2Ease of operation

If traditional RAID-5 reconstruction is used, then data recovery is simplified, but the ability to detect reconstruction errors deteriorates

Engineering Contradiction:
Improvedata recovery simplicityVSAvoidreconstruction accuracy
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The patent introduces checksum verification as a feedback mechanism during the data recovery process. After reconstructing data using parity blocks, the system calculates checksums for the recovered data and compares them against expected values to detect reconstruction errors. This feedback loop maintains simplicity while significantly improving reliability.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent performs preliminary checksum calculation and storage alongside the data during the initial write operation. This preliminary action ensures that when data is later reconstructed, the checksums are already available for immediate verification, simplifying the recovery process while enabling error detection without adding complex verification steps during reconstruction.

Inventive Principle:
Principle #10Preliminary action

3Measurement precision

If checksums are added to verify data integrity, then data corruption detection is improved, but system complexity increases

Engineering Contradiction:
Improvedata integrity verificationVSAvoidsystem complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent merges the checksum calculation and verification operations into the existing RAID-5 data handling pipeline. Checksums are calculated during the same write operations that create parity blocks, and verification occurs during read operations that already involve parity reconstruction. This merging approach integrates integrity verification without adding separate, complex verification subsystems.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent makes the existing parity block handling mechanism universal by having it serve both reconstruction and verification purposes. The same parity blocks that enable data recovery also work in conjunction with checksums to provide integrity verification. This multi-functionality approach allows the system to gain enhanced detection capabilities without proportionally increasing complexity.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS7689877B2Method and system using checksums to repair data
Publication Date: 2010.03.30 ORACLE AMERICAN INC
  • US7689877B2 patent drawing
  • US7689877B2 patent drawing
  • US7689877B2 patent drawing

AI summary

A method for reconstructing corrupted data, which includes determining a number of non-parity disks (n), selecting a first combination of n-1 non-parity disks, obtaining a first set of physical blocks from the first combination of n-1 non-parity disks, obtaining a parity block associated with the first set of physical blocks, reconstructing a first physical block using the first set of physical blocks and the parity block, combining the first physical block and the first set of physical blocks to obtain a first reconstructed logical block, checksuming the first reconstructed logical block to obtain a first calculated checksum, and determining whether the first calculated checksum is equal to a stored checksum associated with the first reconstructed logical block.