There are a few different ways to view RAID information on Fedora. Here are two commands that can help.
1. Print Mdadm config
You can copy and past the following command to print the mdadm configuration.
It should return something similar to the following.
$ cat /etc/mdadm.conf # mdadm.conf written out by anacondaMAILADDR root AUTO +imsm +1.x -all ARRAY /dev/md/Boot level=raid0 num-devices=6 UUID=21ce258a:015d0dd4:90d5b80e:ab04b7f7 ARRAY /dev/md/Root level=raid0 num-devices=6 UUID=4be32ad0:f3aa77bd:139d749d:4a6aab60
We see from the above output that we have two raid arrays. Both RAID 0 over 6 drives.
2. Print mdstats
You can show the mdstats by running
Should get output similar to the following.
$ cat /proc/mdstat Personalities : [raid0] md126 : active raid0 sdc2 sdf2 sde2 sdd2 sda2 sdb2 5856552960 blocks super 1.2 512k chunks md127 : active raid0 sdc1 sdf1 sde1 sdd1 sdb1 sda1 3133440 blocks super 1.2 512k chunks unused devices:
This shows us the RAID size. About 5TB on one and 3GB on the other. The 3GB is used for the boot partition.
Apparently there is a difference between “mdadm” and “dm-raid”
Mdadm is for managing and creating software raids, while dm-raid interacts if a device like a laptop has a “fake RAID”
For more information on managing RAID with Mdadm, you can refer here.