Pcornel
Browse topics
Options
Recent
Favorites
Command · Linux / mdadm

Inspect Linux software RAID state

mdadm --detail /dev/md0

Inspect Linux software RAID state. Focus fields: array state, RAID level, active/working/failed devices, member roles and rebuild progress.

Execution context

Linux / mdadm

Use when

Use when isolating storage--storage-troubleshooting-degraded-raid at the matching failure boundary.

Then verify

inspect the identified member device and controller/path evidence before repair

Privilege Use an account/context authorized for the observation and keep scope bounded.State impact Read-onlyProduction Unknown

Operational impact: Read-only observation; runtime cost still depends on platform and result size.
Command detailsSafety model · family · platform · verification · bundle
PrivilegeUse an account/context authorized for the observation and keep scope bounded.
Execution contextLinux / mdadm
State impactRead-only
Safe during productionUnknown
Categoryraid
Evidence levelmixed
Primary DomainStorage
Historical technical verificationNeeds verification dateCurrent command content requires review after a Git edit.
FamilyRaid
PlatformLinux / mdadm
PrerequisiteLinux / mdadm
Output fields

Field glossary

Important fields projected from persisted Command guidance.

array state, member roles, failed-device count and rebuild/resync progress

Important persisted output field; use surrounding guidance for interpretation.

Command → Topic semantics

Used in these Topics

Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.

DomainsStorage

Find another Command

Reference enrichment

Evidence boundary

What this output can establish — and where you must not over-claim.

Proves

Directly exposes array state, member roles, failed-device count and rebuild/resync progress for the selected object and execution context.

Does not prove

Does not by itself prove root cause, adjacent dependency health or end-to-end workload recovery.

Next check

inspect the identified member device and controller/path evidence before repair

Depth when you need it

Command guidance

Execution context

Linux / mdadm

Use when

Use when isolating storage--storage-troubleshooting-degraded-raid at the matching failure boundary.

Important fields

array state, member roles, failed-device count and rebuild/resync progress

Common problems

Common mistakes: wrong host/device/object, wrong namespace or time window, or treating one layer as end-to-end proof.

Operational impact

Read-only observation; runtime cost still depends on platform and result size.

Runtime cautions

Record object identity, scope and timestamp so output can be correlated with the original failure.

Technical context

No illustrative output is seeded. Add captured or source-backed output only through the provenance-aware workflow.

Confirmation

Confirm action

Continue?