Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #240710

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

From Reiner Buehl <reiner.buehl@gmail.com>
Newsgroups linux.debian.user
Subject New mdadm RAID1 gets renamed from md3 to md127 after each reboot
Date 2021-10-01 11:20 +0200
Message-ID <D3mRX-3hh-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

New mdadm RAID1 gets renamed from md3 to md127 after each reboot Reiner Buehl <reiner.buehl@gmail.com> - 2021-10-01 11:20 +0200
  Re: New mdadm RAID1 gets renamed from md3 to md127 after each          reboot Linux-Fan <Ma_Sys.ma@web.de> - 2021-10-01 16:00 +0200
    Re: New mdadm RAID1 gets renamed from md3 to md127 after each reboot Reiner Buehl <reiner.buehl@gmail.com> - 2021-10-01 17:40 +0200
  Re: New mdadm RAID1 gets renamed from md3 to md127 after each reboot Felix Miata <mrmazda@earthlink.net> - 2021-10-01 16:20 +0200
    Re: New mdadm RAID1 gets renamed from md3 to md127 after each reboot Reiner Buehl <reiner.buehl@gmail.com> - 2021-10-01 17:40 +0200
      Re: New mdadm RAID1 gets renamed from md3 to md127 after each  reboot Tim Woodall <debianuser@woodall.me.uk> - 2021-10-02 00:20 +0200
        Re: New mdadm RAID1 gets renamed from md3 to md127 after each  reboot Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2021-10-02 02:00 +0200
          Re: New mdadm RAID1 gets renamed from md3 to md127 after each reboot Reiner Buehl <reiner.buehl@gmail.com> - 2021-10-02 05:10 +0200
            Re: New mdadm RAID1 gets renamed from md3 to md127 after each reboot Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2021-10-04 04:10 +0200
              Re: New mdadm RAID1 gets renamed from md3 to md127 after each reboot Reiner Buehl <reiner.buehl@gmail.com> - 2021-10-04 08:40 +0200
          Re: New mdadm RAID1 gets renamed from md3 to md127 after each  reboot Tim Woodall <debianuser@woodall.me.uk> - 2021-10-02 07:40 +0200

csiph-web