Use it when choosing RAID 10 or checking an existing RAID 10 array.
RAID 10
RAID 10 stripes across mirrored pairs (at least four disks): good performance and survives one failure per mirror pair. Capacity = half the disks.
1. cat /proc/mdstat — level 10 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.
disks → RAID 10 layout → array device → filesystem
For RAID → RAID 10, continue with the first unproven Topic check: Record RAID10 layout, chunk size, member count and role/copy geometry instead of assuming a vendor-style nested mirror pair model. If that boundary is healthy, advance to the adjacent check: Map failed/missing members to surviving copies and prove the array still has a valid source for every required logical region. 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
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational evidence path Verify boundary
logical I/O → RAID10 layout/copy mapping → surviving mirror copy/member → md completion → degraded/recovery state → upper filesystem/LVM → workload verification
Healthy evidence: the configured layout has all expected active members/copies, no recovery is pending and representative upper-layer I/O succeeds without member errors.
Step 2 Verification and output interpretation Verify boundary
Existing fast checks for this Topic. - Record RAID10 layout, chunk size, member count and role/copy geometry instead of assuming a vendor-style nested mirror pair model.
- Map failed/missing members to surviving copies and show the array still has a valid source for every required logical region.
- Monitor replacement recovery and lower-device errors; do not remove another member based only on total failure count.
- After redundancy restoration, verify array state, filesystem/LVM state and the original workload under representative I/O.
Verification chain. logical I/O → RAID10 layout/copy mapping → surviving mirror copy/member → md completion → degraded/recovery state → upper filesystem/LVM → workload verification
Step 3 Commands Verify boundary
mdadm --create /dev/md0 --level=10 --raid-devices=4 /dev/sd[b-e]1
Step 4 Failure modes and next checks Narrow the fault
Suspicious evidence: failure tolerance is inferred from device count instead of actual copy placement, or the array serves data while some logical regions have reduced copy protection.
Step 5 Common mistakes Narrow the fault
- Placing both mirror members on the same controller/enclosure.
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.
Best choice for databases and write-heavy workloads. Rebuilds are fast (copy from the mirror). Losing both disks of one pair loses the array.
cat /proc/mdstat— md arrays and sync statusmdadm --detail /dev/md<n>— array state and membersmdadm --examine /dev/<dev>— member superblocksmartctl -H /dev/<disk>— disk health
ReferenceWhat it is1 section · depth on demand
Core model
Read the actual md RAID10 layout and member-copy relationships before stating failure tolerance. Verify that every logical region still has a surviving valid copy, then distinguish degraded availability, replacement recovery and upper-layer workload health. Generic 'one disk per mirror' assumptions can be wrong for non-default layouts.
ReferenceImportant terms & boundaries5 sections · depth on demand
What this shows and what it does not
RAID10 health is confirmed by actual copy geometry, expected active membership and upper-layer verification; counting failed devices without mapping them to copies is insufficient.
In depth
RAID10: striped mirrors and md layouts
RAID10 combines mirroring and striping. It gives the write performance of striping with the redundancy of mirrors. The md(4) manual page describes md's RAID10 as a single level with configurable layouts:
- near: the copies of a chunk sit next to each other across devices, like classic RAID1+0.
- far: the copies sit in different halves of each device, which speeds up sequential reads. The manual notes that writes become substantially slower because of extra seeking.
- offset: the copies of each stripe are offset by one device in the next stripe.
How many failures it survives depends on the configuration and on which devices fail.
Layouts in practice
| Layout | --layout | Reads | Writes | Notes |
|---|---|---|---|---|
| near, 2 copies | n2 (default) | Good | Good | Like RAID1+0 |
| far, 2 copies | f2 | Very good (sequential) | Slower on HDDs | Effect is small on SSDs |
| offset, 2 copies | o2 | Good | Good | A compromise |
| near, 3 copies | n3 | Good | Lower | Survives more failures |
md RAID10 compared with nested RAID1+0
| md RAID10 | RAID0 over RAID1 arrays | |
|---|---|---|
| Devices | Any number ≥ 2, including odd counts | Pairs |
| Management | One array | Several arrays |
| Layout choice | near, far, offset | Fixed |
| Grow by adding devices | Possible with newer mdadm versions (near layout) | Add another mirror pair |
Failure tolerance with near-2 on four disks
Data survives one failed disk in each mirror pair. Two failures in the same pair lose data. mdadm --detail lists members in slot order, and with near-2 the slots 0+1 and 2+3 hold the same data.
host$ sudo mdadm --create /dev/md10 --level=10 --layout=n2 --raid-devices=4 --bitmap=internal /dev/nvme[1-4]n1
host$ sudo mdadm --detail /dev/md10 | grep -E "Raid Level|Layout|Array Size|Chunk Size"
Raid Level : raid10
Layout : near=2
Array Size : 3750486016 (3.49 TiB 3.84 TB)
Chunk Size : 512K
host$ sudo mdadm --detail /dev/md10 | tail -5
Number Major Minor RaidDevice State
0 259 1 0 active sync set-A /dev/nvme1n1
1 259 2 1 active sync set-B /dev/nvme2n1
2 259 3 2 active sync set-A /dev/nvme3n1
3 259 4 3 active sync set-B /dev/nvme4n1
host$ cat /proc/mdstat | grep -A1 md10
Reading set-A and set-B
The set-A and set-B labels show the two complete copies of the data. Losing all devices in set-B still leaves set-A intact. That's useful for placing the two sets on different controllers or enclosures.
Documented example, not captured output.
How it works at runtime
RAID 10 is part of RAID → RAID 10. RAID 10 in Linux md combines mirrored copies with striping/layout rules to provide redundancy and parallelism; actual fault tolerance depends on which copies fail and on the configured near/far/offset layout rather than only the count of failed devices.
Topic-specific state model. RAID 10 in Linux md combines mirrored copies with striping/layout rules to provide redundancy and parallelism; actual fault tolerance depends on which copies fail and on the configured near/far/offset layout rather than only the count of failed devices.
Interpretation rule. - RAID10 ≠ simply nested RAID1+RAID0 in every Linux md layout; near/far/offset placement changes copy geometry.
- Two failed members ≠ automatically survivable or fatal; outcome depends on whether required copies overlap.
- Array online ≠ full redundancy; it can remain degraded with only one copy for some regions.
- Recovery completed ≠ application correctness verified; upper-layer data must still be read back.
Quick reference
RAID 10 with md (one md array, not nested):
mdadm --create /dev/md0 --level=10 --layout=n2 --raid-devices=4 /dev/sd[b-e]
Layouts: n2 (near, default — classic RAID 10), f2 (far — faster sequential reads, slower writes), o2 (offset). md RAID 10 also works with an odd number of disks (e.g. 3 disks, n2). It is the preferred md level for databases and VM storage.
Limits and how it fails
Primary failure point. RAID10 health is confirmed by actual copy geometry, expected active membership and upper-layer verification; counting failed devices without mapping them to copies is insufficient.
ReferenceConfiguration & state1 section · depth on demand
Configuration, persistence and lifecycle
Distribution/platform context. RAID 10 owns Linux md RAID10 layout and recovery semantics. Storage RAID owns generic RAID10 concepts; Performance owns workload benchmarking; member devices and upper consumers keep their own failure points.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in RAID → RAID 10. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.kernel.org/admin-guide/md.html · confidence 94%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.
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.
Quick lookup tables
RAID 10 operational reference
Topic-specific lookup boundaries, proof limits and next-step Evidence for RAID 10.
| Lookup boundary | Topic-specific reference | Operational use |
|---|---|---|
| Scope / effective state | RAID 10 in Linux md combines mirrored copies with striping/layout rules to provide redundancy and parallelism; actual fault tolerance depends on which copies fail and on the configured near/far/offset layout rather than only the count of failed devices. | Establish exactly what this Topic owns before crossing into another subsystem. |
| Fast verification | Pin 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 chain | logical I/O → RAID10 layout/copy mapping → surviving mirror copy/member → md completion → degraded/recovery state → upper filesystem/LVM → workload verification | Trace requested/configured state through effective state to the observed workload result. |
| Failure boundary | RAID10 health is proven by actual copy geometry, expected active membership and upper-layer verification; counting failed devices without mapping them to copies is insufficient. | Stop broad troubleshooting at the first boundary that is not supported by evidence. |
| Positive evidence | Correlated Linux RAID evidence can establish this proof path: logical I/O → RAID10 layout/copy mapping → surviving mirror copy/member → md completion → degraded/recovery state → upper filesystem/LVM → workload verification | Use this observation only for the specific claim it actually supports. |
| Evidence limit | It 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. RAID10 health is proven by actual copy geometry, expected active membership and upper-layer verification; counting failed devices without mapping them to copies is insufficient. | Do not promote a local success signal into end-to-end or adjacent-dependency proof. |
| Next troubleshooting check | Continue 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 10 · operational reference
Compact Linux state, persistence, verification and boundary reference for fast lookup.
| Reference boundary | RAID 10 |
|---|---|
| Topic path | RAID → RAID 10 |
| Runtime state | RAID 10 in Linux md combines mirrored copies with striping/layout rules to provide redundancy and parallelism; actual fault tolerance depends on which copies fail and on the configured near/far/offset layout rather than only the count of failed devices. |
| Fast checks | - Record RAID10 layout, chunk size, member count and role/copy geometry instead of assuming a vendor-style nested mirror pair model. - Map failed/missing members to surviving copies and prove the array still has a valid source for every required logical region. - Monitor replacement recovery and lower-device errors; do not remove another member based only on total failure count. - After redundancy restoration, verify array state, filesystem/LVM state and the original workload under representative I/O. |
| Verification chain | logical I/O → RAID10 layout/copy mapping → surviving mirror copy/member → md completion → degraded/recovery state → upper filesystem/LVM → workload 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 boundary | RAID10 health is proven by actual copy geometry, expected active membership and upper-layer verification; counting failed devices without mapping them to copies is insufficient. Boundary chain: process/context → userspace configuration → kernel subsystem/resource → device/network/filesystem dependency → effective state → original workload. |
| Persistence rule | Prove which configuration source owns the state, then prove that the running consumer loaded or generated the intended state. |