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

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



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...)


Reply to: