mdadm mount RAID

mdadm has become a popular Linux tool to manage RAID arrays. Red Hat Linux also uses mdadm and provides a usage guide.

After creating a RAID array, or to find an existing array that may or may not be mounted, use commands like:

mdadm --detail /dev/md0

You’ll see the individual RAID disk /dev/sd*, which can be further examined like:

mdadm --examine /dev/sda1 /dev/sdb1

Sometimes the operating system (such as CentOS Stream) may change the names of the RAID device, it might be under /dev/md/. To mount the RAID, use commands like:

mkdir /mnt/raid

mount /dev/md0 /mnt/raid

There might be extra devices under /dev/md that can’t be mounted, but one of them should be the desired RAID.