Pcornel
Browse topics
Options
Recent
Favorites
Linux · Technical reference

RAID 6

Direct answer

RAID 6 uses two parity blocks per stripe across at least four disks; it survives two disk failures. Capacity = (n−2) disks.

When to use this

Use it when choosing RAID 6 or checking an existing RAID 6 array.

First 30 seconds

1. cat /proc/mdstat — level 6 and all members up?

2. mdadm --detail /dev/md<n> — state, failed or spare devices.

3. Capacity and tolerance as expected for this level?

4. Degraded → replace the failed disk and rebuild.

5. Backups exist independent of the array.

Operational verification

disks → RAID 6 layout → array device → filesystem

Evidence · next step

For RAID → RAID 6, continue with the first unproven Topic check: Record expected member count and exact failed/missing roles, then determine remaining redundancy before any additional device action. If that boundary is healthy, advance to the adjacent check: Inspect surviving members for media/path errors and abnormal latency before placing rebuild stress on the array. Preserve the same host/time/identity scope and rerun the original workload before accepting recovery.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
linux
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformlinux
Scope / prerequisiteUse it when choosing RAID 6 or checking an existing RAID 6 array.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

5 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Operational evidence path Verify boundary

logical I/O → stripe/chunk mapping → data + dual parity computation → member completions → degraded/reconstruction state → upper consumer → workload/data verification

Healthy evidence: all expected members are active, no recovery/check mismatch is unexplained, surviving devices are healthy and upper-layer verification succeeds.

Step 2 Verification and output interpretation Verify boundary

Existing fast checks for this Topic. - Record expected member count and exact failed/missing roles, then determine remaining redundancy before any additional device action.

  • Inspect surviving members for media/path errors and abnormal latency before placing rebuild stress on the array.
  • Track recovery/check state and kernel/md errors continuously, especially when operating with one or two unavailable members.
  • After full membership returns, verify clean state and original filesystem/application data rather than treating dual parity as evidence of integrity.

Verification chain. logical I/O → stripe/chunk mapping → data + dual parity computation → member completions → degraded/reconstruction state → upper consumer → workload/data verification

Step 3 Commands Verify boundary
mdadm --create /dev/md0 --level=6 --raid-devices=6 /dev/sd[b-g]1
Step 4 Failure modes and next checks Narrow the fault

Suspicious evidence: multiple failed members consume redundancy, surviving devices report read errors during recovery or dual-parity capability is confused with guaranteed data integrity.

Step 5 Common mistakes Narrow the fault
  • Expecting RAID 6 write performance to match RAID 10.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points

Safer than RAID 5 for large disks and long rebuilds. Write performance is lower. Still not a backup.

Key checks
  • cat /proc/mdstat — md arrays and sync status
  • mdadm --detail /dev/md<n> — array state and members
  • mdadm --examine /dev/<dev> — member superblock
  • smartctl -H /dev/<disk> — disk health
ReferenceWhat it is1 section · depth on demand

Core model

Treat two-failure tolerance as a budget, not a guarantee of safety under every error pattern. Record exactly how many members are missing/faulty and the state of all survivors before recovery; while degraded, reconstruction still depends on enough remaining data/parity blocks being readable and correctly mapped.

ReferenceImportant terms & boundaries5 sections · depth on demand

What this shows and what it does not

RAID6 closure requires restored expected membership and redundancy plus successful upper-layer verification; the theoretical ability to tolerate two failures does not show current survivors, parity or application data are correct.

In depth

RAID6: two parity blocks

RAID6 extends RAID5 with a second, independent parity block per stripe. The md(4) manual page describes it as striping with dual redundancy, able to survive two failed devices. Like RAID5, a degraded array that was shut down uncleanly doesn't start automatically.

RAID5 compared with RAID6

RAID5RAID6
Minimum devices34
Usable capacityn − 1n − 2
Survives1 failure2 failures
During a rebuildNo redundancy leftStill survives one more failure
Write costTwo parity-related I/Os per small writeMore: two parity blocks to update
Typical useSmall arrays of smaller disksArrays of many large disks

Capacity examples

DisksSize eachRAID6 usable
48 TB16 TB
68 TB32 TB
816 TB96 TB

Operating a RAID6 array

PracticeReason
Monthly scrub (check)Find latent bad sectors while redundancy is complete
A hot spare, or a quick replacement processThe rebuild starts at once
Monitor mail and SMARTNotice a first failure before a second one
Write-intent bitmapShorter resync
UPS or a reliable power supplyAvoid the dirty+degraded state

Converting RAID5 to RAID6

mdadm --grow can change the level from 5 to 6 while adding a device. The manual notes that level and layout changes need --backup-file. The reshape runs online, but it takes a long time and stresses all disks.

host$ sudo mdadm --create /dev/md6 --level=6 --raid-devices=6 --chunk=512 --bitmap=internal /dev/sd[c-h]1
host$ sudo mdadm --detail /dev/md6 | grep -E "Raid Level|Array Size|Raid Devices|State :"
        Raid Level : raid6
        Array Size : 31251243008 (29.10 TiB 32.00 TB)
      Raid Devices : 6
             State : clean, degraded, recovering
host$ sudo mdadm --grow /dev/md5 --level=6 --raid-devices=5 --add /dev/sdg1 --backup-file=/root/md5-reshape.bak
host$ sudo smartctl -H /dev/sdc | grep result
SMART overall-health self-assessment test result: PASSED
host$ cat /sys/block/md6/md/degraded

Degraded but still protected

/sys/block/md6/md/degraded shows how many devices are missing. On RAID6, one missing device still leaves full single-failure protection. Treat it with the same urgency anyway, because rebuilds on large disks take many hours.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

How it works at runtime

RAID 6 is part of RAID → RAID 6. RAID 6 uses dual distributed parity so an array can tolerate up to two member failures within its redundancy model, at the cost of additional parity work and a recovery window whose risk rises as failures accumulate.

Topic-specific state model. RAID 6 uses dual distributed parity so an array can tolerate up to two member failures within its redundancy model, at the cost of additional parity work and a recovery window whose risk rises as failures accumulate.

Interpretation rule. - RAID6 can tolerate two member failures ≠ any two arbitrary corruption/path scenarios are harmless.

  • One failed member ≠ full protection; redundancy margin is reduced until replacement and recovery complete.
  • Two failed members and mounted filesystem ≠ safe maintenance window; another required read failure can exceed recoverability.
  • Dual parity ≠ backup or end-to-end application integrity.

Quick reference

RAID 6 with md: double parity, survives two disk failures.

mdadm --create /dev/md0 --level=6 --raid-devices=6 --chunk=512 /dev/sd[b-g]
mdadm --detail /dev/md0 | grep -E 'Raid Level|Array Size|State'

Usable capacity (n−2) disks. Writes are slower than RAID 10 (two parity updates); suited to capacity storage and backups. Convert RAID 5 → 6 by adding a disk and reshaping (mdadm --grow /dev/md0 --level=6 --raid-devices=5 --backup-file=/root/md0.bak).

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Limits and how it fails

Primary failure point. RAID6 closure requires restored expected membership and redundancy plus successful upper-layer verification; the theoretical ability to tolerate two failures does not show current survivors, parity or application data are correct.

ReferenceConfiguration & state1 section · depth on demand

Configuration, persistence and lifecycle

Distribution/platform context. RAID 6 owns Linux dual-parity array state and recovery. Storage RAID owns parity math concepts; member-device and application-integrity issues remain with the relevant Topics.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor doclinux current

Authoritative/upstream documentation reviewed for bounded claims in RAID → RAID 6. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://docs.kernel.org/admin-guide/md.html · confidence 94%
Technical changelog & impact

What changed and what may be affected

Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
linux raid6mdadm raid 6raid six linuxdual parity md
Embedded reference data

Quick lookup tables

RAID 6 operational reference

Topic-specific lookup boundaries, proof limits and next-step Evidence for RAID 6.

Lookup boundaryTopic-specific referenceOperational use
Scope / effective stateRAID 6 uses dual distributed parity so an array can tolerate up to two member failures within its redundancy model, at the cost of additional parity work and a recovery window whose risk rises as failures accumulate.Establish exactly what this Topic owns before crossing into another subsystem.
Fast verificationPin exact host + array UUID/name → capture /proc/mdstat + md detail → examine every candidate member superblock/role/event count → prove lower device/path health → identify clean/degraded/recovery/reshape state → change one demonstrated cause → verify expected active membership/redundancy → read back LVM/filesystem → repeat original workload and regression.Use the shortest evidence path first; a fast check is a boundary test, not blanket proof.
Verification chainlogical I/O → stripe/chunk mapping → data + dual parity computation → member completions → degraded/reconstruction state → upper consumer → workload/data verificationTrace requested/configured state through effective state to the observed workload result.
Failure boundaryRAID6 closure requires restored expected membership and redundancy plus successful upper-layer verification; the theoretical ability to tolerate two failures does not prove current survivors, parity or application data are correct.Stop broad troubleshooting at the first boundary that is not supported by evidence.
Positive evidenceCorrelated Linux RAID evidence can establish this proof path: logical I/O → stripe/chunk mapping → data + dual parity computation → member completions → degraded/reconstruction state → upper consumer → workload/data verificationUse this observation only for the specific claim it actually supports.
Evidence limitIt does not independently prove behavior outside the captured host/VM, array UUID, metadata generation, member set, device/path health, recovery window, upper filesystem/LVM, time or workload scope. RAID6 closure requires restored expected membership and redundancy plus successful upper-layer verification; the theoretical ability to tolerate two failures does not prove current survivors, parity or application data are correct.Do not promote a local success signal into end-to-end or adjacent-dependency proof.
Next troubleshooting checkContinue from the first unproven RAID boundary: capture exact member metadata and downstream state, preserve recoverability, change only the demonstrated cause, verify stable array membership/redundancy, then repeat the original upper-layer workload and adjacent regression checks.Continue to the next unresolved boundary while preserving the original test condition.

RAID 6 · operational reference

Compact Linux state, persistence, verification and boundary reference for fast lookup.

Reference boundaryRAID 6
Topic pathRAID → RAID 6
Runtime stateRAID 6 uses dual distributed parity so an array can tolerate up to two member failures within its redundancy model, at the cost of additional parity work and a recovery window whose risk rises as failures accumulate.
Fast checks- Record expected member count and exact failed/missing roles, then determine remaining redundancy before any additional device action. - Inspect surviving members for media/path errors and abnormal latency before placing rebuild stress on the array. - Track recovery/check state and kernel/md errors continuously, especially when operating with one or two unavailable members. - After full membership returns, verify clean state and original filesystem/application data rather than treating dual parity as proof of integrity.
Verification chainlogical I/O → stripe/chunk mapping → data + dual parity computation → member completions → degraded/reconstruction state → upper consumer → workload/data verification Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return/regression → explicit Evidence boundary. Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return path or regression → explicit Evidence boundary.
Failure boundaryRAID6 closure requires restored expected membership and redundancy plus successful upper-layer verification; the theoretical ability to tolerate two failures does not prove current survivors, parity or application data are correct. Boundary chain: process/context → userspace configuration → kernel subsystem/resource → device/network/filesystem dependency → effective state → original workload.
Persistence ruleProve which configuration source owns the state, then prove that the running consumer loaded or generated the intended state.
Confirmation

Confirm action

Continue?