Pcornel
Browse topics
Options
Recent
Favorites
Linux · Technical reference

RAID 0

Direct answer

RAID 0 (striping) spreads data across disks for speed and full capacity, with no redundancy — one disk failure loses everything.

When to use this

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

First 30 seconds

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.

Operational verification

disks → RAID 0 layout → array device → filesystem

Evidence · next step

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
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 0 or checking an existing RAID 0 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 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 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

Use only for scratch or re-creatable data. Capacity = sum of disks. Never use for data you cannot lose without backups.

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

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 RAID0md LINEARLVM striped LV
LayoutChunks alternate between devicesDevices concatenated end to endStripes across PVs
ThroughputCombinedThat of one device at a timeCombined
RedundancyNoneNoneNone
FlexibilityFixed set of devicesCan append devicesPer LV; mix with linear LVs

Capacity and performance

DevicesUsable capacitySequential throughput (ideal)
2 × 1 TB2 TBAbout 2 × one disk
4 × 1 TB4 TBAbout 4 × one disk
Mixed sizesn × the smallest (md RAID0 uses the extra space in further zones)Lower in the extra zones

When RAID0 is appropriate

SuitableNot suitable
Scratch and build spaceAnything that's the only copy of data
Caches that can be rebuiltBoot and OS disks
Temporary data in pipelinesDatabases 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.

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 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).

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. 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
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 0. 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 raid0mdadm raid 0raid zero linuxstriped md array
Embedded reference data

Quick lookup tables

RAID 0 operational reference

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

Lookup boundaryTopic-specific referenceOperational use
Scope / effective stateRAID 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 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 mapping by chunk/member order → required member device → completion → md logical completion → filesystem/application resultTrace requested/configured state through effective state to the observed workload result.
Failure boundaryRAID0 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 evidenceCorrelated 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 resultUse 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. 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 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 0 · operational reference

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

Reference boundaryRAID 0
Topic pathRAID → RAID 0
Runtime stateRAID 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 chainlogical 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 boundaryRAID0 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 ruleProve which configuration source owns the state, then prove that the running consumer loaded or generated the intended state.
Confirmation

Confirm action

Continue?