RAID getting created as /dev/md127

When I create software RAID with mdadm, it gets created as /dev/md127, instead of /dev/md0 I specified while creating RAID.

RAID /dev/md127

To fix this, you need to add RAID definition in /etc/mdadm/mdadm.conf, this can be done with

Now run command

Reboot the server, after reboot, RAID device will be named properly.

Leave a Reply

Your email address will not be published. Required fields are marked *