commands
mdadm — Inspect Linux software RAID
Report active arrays in configuration-like form; this does not certify redundancy or health. Use a fresh private workspace; live operations are VM-only.
Formal Syntax & Structure
linux syntaxlinux
mdadm --detail --scanParameters & Attributes
| Name | Type | Description |
|---|---|---|
| --detail | option | Detail mode |
| --scan | option | Discover arrays |
Return Value
exit status and output
The detail scan prints configuration-style records for detected active arrays. Inspect the actual records and diagnostics; a successful scan is not proof of array redundancy or health.
Working Example
Example Snippetlinux
mdadm --detail --scan