On 3/20/23 03:35, Reindl Harald wrote:
Am 20.03.23 um 01:34 schrieb Ram Ramesh:
Yes the names must be in the metadata of the md because I populate
mdadm.conf after every change by actually using the output from mdadm
--detail -scan. Since that comes up with md0/md1/md2, I assume somehow
mdadm simply finds them again and again with exact same name.
I do not ever get md127
no - your mdadm.conf is in the initrd because how else should the rootfs
could live on the array containing mdadm.conf
Agreed. After I moved the rootfs of the old system to new hardware (a
new machine with is two nvme raid1), I booted into it and it did show
that the rootfs is on md127. However, after making mdadm.conf entries
and update-initramfs, md name changed to /dev/md0. So, it must be what
you said.
Regards
Ramesh