WeRecoverData

RAID levels reference

RAID level determines how data is distributed, how much redundancy exists, and how hard reconstruction becomes when an array fails. The tables below summarise the layouts we encounter in the laboratory and what each one implies for recovery.

Standard RAID levels

Standard RAID levels
LevelLayoutMinimum drivesUsable capacity (n drives)Drive failures toleratedRecovery difficulty
RAID 0Striping, no redundancy2100%0High — every member is required
RAID 1Mirroring250%n − 1Low — a single member is a full copy
RAID 5Striping with distributed single parity3(n − 1)/n1Moderate — order, stripe size and parity rotation must be solved
RAID 6Striping with dual distributed parity4(n − 2)/n2Moderate to high — two parity syndromes to resolve
RAID 10Mirrored pairs, then striped450%1 per mirrored pairModerate — pair mapping must be identified
RAID 50RAID 5 groups, then striped6Varies by group count1 per groupHigh — group boundaries plus per-group parity
RAID 60RAID 6 groups, then striped8Varies by group count2 per groupHigh
JBOD / spannedSequential concatenation, no redundancy2100%0Moderate — member order determines file continuity

Parameters required to reconstruct an array

Parameters required to reconstruct an array
ParameterWhat it isWhy it matters
Member orderThe sequence of physical drives in the setWrong order produces structurally valid but corrupt files
Stripe / block sizeBytes written per member before rotatingWrong size misaligns every stripe boundary
Parity rotationLeft/right, synchronous or asynchronousDetermines which member holds parity for each stripe
Start offsetWhere array data begins on each memberController metadata regions differ by vendor
Drop-out orderWhich member failed first, and whenA stale member carries out-of-date data that must be excluded
Block orderingForward or backward parity delayAffects reconstruction in some vendor implementations

Common RAID failure scenarios

Common RAID failure scenarios
ScenarioWhat typically happenedRecommended handling
Single member failed, array degradedNormal drive failureLabel positions, image every member, then reconstruct
Two members failed on RAID 5Second failure surfaced during rebuild stressDo not rebuild; image all members including the failed ones
Rebuild started onto a marginal driveAutomatic hot-spare rebuildStop the rebuild; the pre-rebuild state may still be reconstructable
Array reinitialised or reconfiguredAdministrative errorPower down before further writes; metadata may be rebuildable
Controller failureHardware fault on the RAID controllerMember data is usually intact; do not import as a new array
Ransomware on a healthy arrayEncryption at the file system layerRAID provides no protection; restore from backup or snapshots

Notes