Use it when choosing RAID 0 or checking an existing RAID 0 array.
RAID 0
RAID 0 (striping) spreads data across disks for speed and full capacity, with no redundancy — one disk failure loses everything.
1. cat /proc/mdstat — level 0 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 0 layout → array device → filesystem
For RAID → RAID 0, continue with the first unproven Topic check: Confirm the intended RAID0 UUID, all required active members, chunk size/layout and exact member ordering before any recovery attempt. If that boundary is healthy, advance to the adjacent check: Inspect each member/path for media or transport errors because a single unavailable extent has no mirror/parity alternative. 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 → stripe mapping by chunk/member order → required member device → completion → md logical completion → filesystem/application result
Healthy evidence: all intended members are active with stable latency/error state, the array mapping matches its metadata and the upper workload reads/writes correctly.
Step 2 Verification and output interpretation Verify boundary
Existing fast checks for this Topic. - Confirm the intended RAID0 UUID, all required active members, chunk size/layout and exact member ordering before any recovery attempt.
- Inspect each member/path for media or transport errors because a single unavailable extent has no mirror/parity alternative.
- Correlate performance expectations with actual workload size/alignment and lower-device latency rather than assuming striping is the bottleneck fix.
- If any required member is lost, preserve evidence and restore from an independent copy rather than treating md rebuild as possible reconstruction.
Verification chain. logical I/O → stripe mapping by chunk/member order → required member device → completion → md logical completion → filesystem/application result
Step 3 Commands Verify boundary
mdadm --create /dev/md0 --level=0 --raid-devices=2 /dev/sdb /dev/sdc
Step 4 Failure modes and next checks Narrow the fault
Suspicious evidence: one member is missing or erroring, the array was force-assembled with incomplete/stale members, or performance assumptions ignore chunk and workload geometry.
Step 5 Common mistakes Narrow the fault
- RAID 0 for data that matters (no redundancy).
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.
Use only for scratch or re-creatable data. Capacity = sum of disks. Never use for data you cannot lose without backups.
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
Verify member count, chunk size and stripe order before interpreting capacity or performance. A RAID0 array is healthy only while every required member and path is healthy; there is no degraded-but-redundant operating state and no parity/mirror reconstruction path for a lost member.
ReferenceImportant terms & boundaries5 sections · depth on demand
What this shows and what it does not
RAID0 health requires every required member and stripe mapping to remain available; there is no redundancy boundary to show after member loss, so recovery shifts to independent backup or application-level reconstruction.
In depth
RAID0: striping without redundancy
RAID0 spreads data across devices in chunks, so reads and writes use all devices in parallel. The md(4) manual page lists RAID0 among the non-redundant modes, together with LINEAR. The chunk size must be at least 4 KiB. With no redundancy at all, a single failed device loses the whole array.
RAID0 compared with LINEAR and an LVM striped LV
| md RAID0 | md LINEAR | LVM striped LV | |
|---|---|---|---|
| Layout | Chunks alternate between devices | Devices concatenated end to end | Stripes across PVs |
| Throughput | Combined | That of one device at a time | Combined |
| Redundancy | None | None | None |
| Flexibility | Fixed set of devices | Can append devices | Per LV; mix with linear LVs |
Capacity and performance
| Devices | Usable capacity | Sequential throughput (ideal) |
|---|---|---|
| 2 × 1 TB | 2 TB | About 2 × one disk |
| 4 × 1 TB | 4 TB | About 4 × one disk |
| Mixed sizes | n × the smallest (md RAID0 uses the extra space in further zones) | Lower in the extra zones |
When RAID0 is appropriate
| Suitable | Not suitable |
|---|---|
| Scratch and build space | Anything that's the only copy of data |
| Caches that can be rebuilt | Boot and OS disks |
| Temporary data in pipelines | Databases without replication |
| Striping across cloud disks to exceed per-disk limits |
Chunk size
The chunk is the amount written to one device before moving to the next. Large chunks, such as 512 KiB (the mdadm default), suit large sequential I/O. Smaller chunks spread small I/O more evenly. Align the file system to the stripe: mkfs.xfs normally detects this from md automatically.
host$ sudo mdadm --create /dev/md10 --level=0 --raid-devices=2 --chunk=256 /dev/nvme1n1 /dev/nvme2n1
mdadm: array /dev/md10 started.
host$ cat /proc/mdstat | grep -A1 md10
md10 : active raid0 nvme2n1[1] nvme1n1[0]
3750486016 blocks super 1.2 256k chunks
host$ sudo mkfs.xfs /dev/md10 | grep -E "sunit|swidth"
data = bsize=4096 blocks=937621504, imaxpct=5
= sunit=64 swidth=128 blks
host$ sudo fio --name=seq --filename=/dev/md10 --rw=read --bs=1M --direct=1 --size=10G --readonly
Reading mkfs output
mkfs.xfs detected the stripe geometry automatically: a stripe unit of 64 blocks × 4 KiB = 256 KiB (the chunk), and a stripe width of two chunks. That alignment lets full-stripe writes reach both devices without splitting.
Documented example, not captured output.
How it works at runtime
RAID 0 is part of RAID → RAID 0. RAID 0 stripes data across multiple members to aggregate capacity and parallel I/O but provides no redundancy: loss or unreadability of any required member makes portions of the logical array unavailable and normally invalidates the whole dataset.
Topic-specific state model. RAID 0 stripes data across multiple members to aggregate capacity and parallel I/O but provides no redundancy: loss or unreadability of any required member makes portions of the logical array unavailable and normally invalidates the whole dataset.
Interpretation rule. - RAID 0 ≠ fault tolerance; striping increases the number of components whose loss can destroy the array.
- High sequential throughput ≠ universally better performance; workload shape, queueing, chunk size and underlying devices still matter.
- Array assembles ≠ all data is trustworthy if a member has media errors or was replaced with unrelated content.
- Adding another striped member ≠ adding redundancy; it extends the failure domain unless an upper/lower protection layer exists.
Quick reference
RAID 0 with md stripes data for throughput with no redundancy:
mdadm --create /dev/md0 --level=0 --raid-devices=2 --chunk=256 /dev/nvme0n1 /dev/nvme1n1
mkfs.xfs /dev/md0 # mkfs reads stripe geometry from md automatically
Use only for scratch/cache data or as the bottom of a layout where redundancy exists elsewhere (e.g. replicated application data).
Limits and how it fails
Primary failure point. RAID0 health requires every required member and stripe mapping to remain available; there is no redundancy boundary to show after member loss, so recovery shifts to independent backup or application-level reconstruction.
ReferenceConfiguration & state1 section · depth on demand
Configuration, persistence and lifecycle
Distribution/platform context. RAID 0 owns Linux RAID0 operational semantics. Storage RAID owns generic striping theory; Backup & Restore owns recovery after unrecoverable member loss; Performance owns workload-level benchmarking.
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 0. 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 0 operational reference
Topic-specific lookup boundaries, proof limits and next-step Evidence for RAID 0.
| Lookup boundary | Topic-specific reference | Operational use |
|---|---|---|
| Scope / effective state | RAID 0 stripes data across multiple members to aggregate capacity and parallel I/O but provides no redundancy: loss or unreadability of any required member makes portions of the logical array unavailable and normally invalidates the whole dataset. | 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 → stripe mapping by chunk/member order → required member device → completion → md logical completion → filesystem/application result | Trace requested/configured state through effective state to the observed workload result. |
| Failure boundary | RAID0 health requires every required member and stripe mapping to remain available; there is no redundancy boundary to prove after member loss, so recovery shifts to independent backup or application-level reconstruction. | 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 → stripe mapping by chunk/member order → required member device → completion → md logical completion → filesystem/application result | 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. RAID0 health requires every required member and stripe mapping to remain available; there is no redundancy boundary to prove after member loss, so recovery shifts to independent backup or application-level reconstruction. | 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 0 · operational reference
Compact Linux state, persistence, verification and boundary reference for fast lookup.
| Reference boundary | RAID 0 |
|---|---|
| Topic path | RAID → RAID 0 |
| Runtime state | RAID 0 stripes data across multiple members to aggregate capacity and parallel I/O but provides no redundancy: loss or unreadability of any required member makes portions of the logical array unavailable and normally invalidates the whole dataset. |
| Fast checks | - Confirm the intended RAID0 UUID, all required active members, chunk size/layout and exact member ordering before any recovery attempt. - Inspect each member/path for media or transport errors because a single unavailable extent has no mirror/parity alternative. - Correlate performance expectations with actual workload size/alignment and lower-device latency rather than assuming striping is the bottleneck fix. - If any required member is lost, preserve evidence and restore from an independent copy rather than treating md rebuild as possible reconstruction. |
| Verification chain | logical I/O → stripe mapping by chunk/member order → required member device → completion → md logical completion → filesystem/application result 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 | RAID0 health requires every required member and stripe mapping to remain available; there is no redundancy boundary to prove after member loss, so recovery shifts to independent backup or application-level reconstruction. 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. |