Use it when configuring, checking or troubleshooting Software RAID in RAID.
Software RAID
Software RAID maintains array metadata and performs stripe/mirror/parity operations in the host stack. It can provide portability and visibility into individual devices, but correct boot integration, device identification and metadata assembly are critical.
1. Software RAID (mdadm, Storage Spaces, ZFS) uses the CPU.
2. Portable across hardware.
3. Configure monitoring and email (MAILADDR).
4. Rebuild initramfs after changes.
5. Scrub monthly (checkarray).
disks → md driver → /dev/mdX → filesystem
Context & applicabilityCommon mistakes · platform/version boundaries
A software RAID device being present shows the host assembled a logical array, but it does not show every member is healthy, boot-time assembly is resilient or filesystem data is consistent.
Suspicious evidence: arrays assemble with missing or unexpected members, device names changed, stale metadata is discovered, or rebuild CPU/I/O contention causes workload failure.
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 Verification path Verify boundary
filesystem/volume I/O → host software RAID layer → stripe/mirror/parity mapping → member block devices → storage interfaces/media → completion
Healthy evidence: expected members assemble by stable identity, metadata agrees, array is clean/optimal and host resources remain adequate during normal and rebuild workloads.
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.
- Software RAID ≠ inherently slower than hardware RAID.
- OS sees members ≠ array is assembled correctly.
- Device path/name ≠ stable member identity.
- Software RAID ≠ filesystem-level redundancy unless the filesystem itself implements it.
cat /proc/mdstat— md arraysmdadm --detail --scan >> /etc/mdadm/mdadm.conf— persist configsystemctl status mdmonitor— monitoring/alerts
ReferenceImportant terms & boundaries2 sections · depth on demand
Protection
A software RAID device being present shows the host assembled a logical array, but it does not show every member is healthy, boot-time assembly is resilient or filesystem data is consistent.
In depth
Software RAID runs in the OS: Linux md (mdadm), LVM RAID, Windows Storage Spaces, and filesystem-integrated RAID in ZFS and Btrfs. Modern CPUs compute parity easily, disks move freely between servers, and the tools are scriptable and monitorable.
Without a protected write cache, parity RAID has the write-hole risk (a crash between data and parity writes leaves the stripe inconsistent); md mitigates it with a write journal or partial parity log, and ZFS avoids it entirely with copy-on-write variable-width stripes.
mdadm --detail /dev/md0
mdadm --monitor --scan --daemonise --mail=root
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 → Software RAID. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.kernel.org/admin-guide/md.html · confidence 94%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 → Software RAID RAID map
Fast layout, protection, failure and verification boundaries for RAID → Software RAID.
| RAID boundary | What to verify | Proof limit |
|---|---|---|
| Layout / topology | RAID level, member grouping, effective member size and stripe/mirror/parity structure | The label alone does not prove current member health or exact failure tolerance |
| Protection state | Array state, members, spares, cache protection and active rebuild/consistency work | Optimal/online state does not prove backup or application integrity |
| Failure boundary | A software RAID device being present proves the host assembled a logical array; it does not prove every member is healthy, boot-time assembly is resilient or filesystem data is consistent. | Failure tolerance must be evaluated against the exact layout and failure pattern |
| Acceptance | Healthy evidence: expected members assemble by stable identity, metadata agrees, array is clean/optimal and host resources remain adequate during normal and rebuild workloads. | Close only after the original workload/data check succeeds |