Hot Spare RAID Storage Rebuilding via XOR Parity

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

RAID systems face data loss when two or more drives fail in a group of mirrored drives, as existing methods do not effectively rebuild data in a hot spare storage device to maintain redundancy and recover missing data.

Innovation Solution

A method and system that utilize a hot spare storage device to rebuild data by performing XOR operations with mirrored storage devices, generating parity data to reconstruct missing data, and overwriting existing data to store rebuilt information, ensuring redundancy across failed spans.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a hot spare storage device is used to rebuild data from a single failed drive, then data redundancy is maintained, but the system cannot handle multiple simultaneous drive failures

Engineering Contradiction:
Improvedata redundancyVSAvoidhandling multiple drive failures
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent segments the data rebuilding process into multiple sequential phases, where each phase handles one drive failure at a time. When multiple drives fail, the system rebuilds to the hot spare in phases, overwriting the hot spare's original data with parity information from subsequent failed drives, thereby maintaining reliability across multiple failures.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent changes the functional parameter of the hot spare storage device from storing original data copies to storing parity data through XOR operations. This parameter change allows the hot spare to adaptively serve multiple failed drives by transforming its data content through mathematical operations with data from newly failed drives.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If the hot spare storage device stores original data copies, then single drive failure recovery is enabled, but multiple drive failures result in data loss

Engineering Contradiction:
Improvesingle drive failure recoveryVSAvoiddata loss from multiple failures
Core Design Contradiction:
ReliabilityVSLoss of information

Solution Approach 1:

The patent converts the harmful situation of multiple drive failures into a beneficial process by using XOR parity operations. When additional drives fail after the hot spare is occupied, the system performs XOR operations between the hot spare's current data and data from the new failed drive, generating new parity data that preserves information from all failed drives.

Inventive Principle:
Principle #22Blessing in disguise (Convert harm into benefit)

Solution Approach 2:

The hot spare storage device acts as an intermediary that mediates between multiple failed drives. It temporarily holds and transforms data from failed drives through XOR operations, serving as a computational intermediary that reconstructs and preserves data from multiple failure sources before final restoration.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Manufacturing precision

If existing data in the hot spare is preserved, then original data integrity is maintained, but the hot spare cannot be reused for subsequent drive failures

Engineering Contradiction:
Improvedata integrityVSAvoidhot spare reusability
Core Design Contradiction:
Manufacturing precisionVSProductivity

Solution Approach 1:

The patent implements a discard and recover mechanism where the hot spare's original data is temporarily discarded when a drive fails, allowing the hot spare to be repurposed for rebuilding. After the rebuild process completes and parity data is established, the system can recover and restore original data from remaining functional drives, thereby maintaining both data integrity and hot spare reusability across multiple failure cycles.

Inventive Principle:
Principle #34Discarding and recovering

Data Source

PatentUS9715436B2System and method for managing raid storage system having a hot spare drive
Publication Date: 2017.07.25 DELL PROD LP
  • US9715436B2 patent drawing
  • US9715436B2 patent drawing
  • US9715436B2 patent drawing

AI summary

A method provides rebuilding data in a hot spare storage device when multiple storage devices fail in a storage system. The method includes a storage controller determining if a first storage device storing first data has failed within a first group of storage devices. In response to the first storage device failing, the first data is rebuilt in the hot spare storage device from a copy of the first data stored in a first mirrored storage device of the first group of storage devices. In response to a second storage device failing, third data is generated by performing a first exclusive or (XOR) operation with the first data stored on the hot spare storage device and a copy of the second data stored in a second mirrored storage device of the second group of storage devices. The third data is rebuilt in the hot spare storage device. The method recovers original data and prevents complete failure of a virtual disk.