Inspect RAID level, members, and rebuild progress.

Section: RAID and Encryption

Show array details

bash
bash
sudo mdadm --detail /dev/md0
Explanation

Inspect RAID level, members, and rebuild progress.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing RAID and Encryption
Show active MD arrays
Quick view of RAID sync, rebuild, and degraded state.
OpenIn sheetbashsame section
Examine RAID metadata on members
Inspect md superblock metadata directly on a member device.
OpenIn sheetbashsame section
Stop an array
Stop a software RAID device before disassembly or recovery work.
OpenIn sheetbashsame section
Assemble an existing array
Discover and assemble arrays based on metadata or config.
OpenIn sheetbashsame section
Generate mdadm.conf array entries
Persist discovered arrays into mdadm configuration.
OpenIn sheetbashsame section
Create a RAID1 array
Create a mirrored software RAID device.
OpenIn sheetbashsame section