Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #240723
| From | Linux-Fan <Ma_Sys.ma@web.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: New mdadm RAID1 gets renamed from md3 to md127 after each reboot |
| Date | 2021-10-01 16:00 +0200 |
| Message-ID | <D3reV-5LD-5@gated-at.bofh.it> (permalink) |
| References | <D3mRX-3hh-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Reiner Buehl writes: > 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 [...] I have observed this in the past, too and do not know how to "fix" it. Why is it necessary for the volume to appear under /dev/md3? Might it be possible to use its UUID instead, i.e. check the output of ls -l /dev/disk/by-uuid to find out if your md3/md127 can be accessed by an unique ID. You could then point the entries in /etc/fstab to the UUID rather than the "unstable" device name? HTH and YMMV Linux-Fan öö
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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