mdadm --detail --scan

Category: Administration

mdadm --detail --scan

Show all active RAID arrays

Lists every running RAID array in a format suitable for the mdadm.conf configuration file. The output names the array device, level, and member disks. This is the first step when documenting arrays, since the lines can be appended to /etc/mdadm/mdadm.conf.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.