[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

New mdadm RAID1 gets renamed from md3 to md127 after each reboot



I created a new mdadm RAID 1 as /dev/md3. But after each reboot, it gets activated as md127. How can I fix this - preferably without haveing to delete the whole array again...
The array is defined like this in /etc/mdadm:

ARRAY /dev/md3 metadata=1.2  level=raid1 num-devices=1 UUID=41e0a87f:22a2205f:0187c73d:d8ffefea

(yes, it only has one disk at the moment, the other will be added once this issue is fixed :-) )

I also did run update-initramfs -u to ensure that this is updated there too.

If I manually stop and re-assemble it, it shows as md3, but once I reboot, it shows up as md127 again. In the mdadm --detail --scan output, it shows up like this:

ARRAY /dev/md/<Host FQDN>:3 metadata=1.2 name=<Host FQDN>:3 UUID=41e0a87f:22a2205f:0187c73d:d8ffefea

How can I stop the renaming?

Best regards,
Reiner


Reply to: