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


Groups > linux.debian.user > #240762

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

From Tim Woodall <debianuser@woodall.me.uk>
Newsgroups linux.debian.user
Subject Re: New mdadm RAID1 gets renamed from md3 to md127 after each reboot
Date 2021-10-02 00:20 +0200
Message-ID <D3z2N-2c0-3@gated-at.bofh.it> (permalink)
References <D3mRX-3hh-7@gated-at.bofh.it> <D3ryh-67d-1@gated-at.bofh.it> <D3sNK-6Nj-39@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 1 Oct 2021, Reiner Buehl wrote:

> On 01.10.2021 16:11, Felix Miata wrote:
>> Mine (old) is like so:
>> # head -n3 /etc/mdadm.conf
>> HOMEHOST <ignore>
>> DEVICE containers partitions
>> ARRAY /dev/md0 metadata=1.0 name=msi85:0tmp UUID=...
> I tried changing the HOMEHOST from <system> to <ignore> but that did not 
> help.
>
>

I've solved this but I don't recall how.

cat /proc/mdstat
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5]
[raid4] [raid10]
md1 : active raid1 sdb3[2] sda3[3]
       468588347 blocks super 1.2 [2/2] [UU]
       bitmap: 3/4 pages [12KB], 65536KB chunk


mdadm --misc -D /dev/md1
/dev/md1:
...
               Name : xen.home.woodall.me.uk:1


cat /proc/mdstat
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5]
[raid4] [raid10]
md0 : active raid1 sdb3[2] sda3[3]
       468588356 blocks super 1.2 [2/2] [UU]
       bitmap: 1/2 pages [4KB], 131072KB chunk

mdadm --misc -D /dev/md0
/dev/md0:
...
               Name : boot.home.woodall.me.uk:0



I think it might be that :n at the end of the name.

Another machine doesn't have the :n and there its device md127.

(those machine names bring back memories. I'd rename the array except no
doubt everything would collapse in a heap...)

Back to linux.debian.user | Previous | Next — Previous in thread | 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