Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
md126 : active (auto-read-only) raid5 sde5[1] sde11[3] sde4[0]
204668928 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
md127 : active (auto-read-only) raid5 sdf14[3] sdf12[0] sdf13[1]
204668928 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
md0 : active raid5 sde6[6](S) sdb6[3] sdb4[1] sda3[0]
204668928 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
unused devices: <none>
z@z-desktop:~$
OK, here is part of my original post.
Same problem - which " md number " is for real?
The mdadm.conf is missing 2 an 3 - I can fix that.
But what about md127 / md126 ?
Quote:
z@z-desktop:~$ sudo dpkg-reconfigure mdadm
[sudo] password for z:
update-initramfs: deferring update (trigger activated)
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.15.0-54-generic
Found initrd image: /boot/initrd.img-4.15.0-54-generic
Found linux image: /boot/vmlinuz-4.15.0-52-generic
Found initrd image: /boot/initrd.img-4.15.0-52-generic
Found linux image: /boot/vmlinuz-4.15.0-51-generic
Found initrd image: /boot/initrd.img-4.15.0-51-generic
File descriptor 3 (pipe:[81713]) leaked on lvs invocation. Parent PID 7465: /bin/sh
Found Ubuntu 16.04.6 LTS (16.04) on /dev/sda6
Found Ubuntu 16.04.6 LTS (16.04) on /dev/sdb2
Found Ubuntu 16.04.2 LTS (16.04) on /dev/sdb5
Found Ubuntu 16.04.6 LTS (16.04) on /dev/sdc4
Adding boot menu entry for EFI firmware configuration
done
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Processing triggers for initramfs-tools (0.122ubuntu8.14) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-54-generic
W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin for module i915
W: mdadm: the array /dev/md/a-desktop:3 with UUID 92ea9b2e:5f6d6f5c:34b3efe6:42fb5617
W: mdadm: is currently active, but it is not listed in mdadm.conf. if
W: mdadm: it is needed for boot, then YOUR SYSTEM IS NOW UNBOOTABLE!
W: mdadm: please inspect the output of /usr/share/mdadm/mkconf, compare
W: mdadm: it to /etc/mdadm/mdadm.conf, and make the necessary changes.
W: mdadm: the array /dev/md/a-desktop:2 with UUID 3c054983:7f097201:ea7c71b7:63b6933d
W: mdadm: is currently active, but it is not listed in mdadm.conf. if
W: mdadm: it is needed for boot, then YOUR SYSTEM IS NOW UNBOOTABLE!
W: mdadm: please inspect the output of /usr/share/mdadm/mkconf, compare
W: mdadm: it to /etc/mdadm/mdadm.conf, and make the necessary changes.
z@z-desktop:~$
I'm showing my ignorance, but I ask because a search of "mdx number" gives me "Miami-Dade Expressway," among other irrelevant results.
No problem.
The RAID "device arrays" in Linux are /dev/md0 - /dev/md127.
When you "build" the array YOU can select the number, but for some (to me ) unknown reasons the "system" can mess things up by numbering it "automatically?" "backwards " from md127 down.
I have several test arrays and they are numbered 0,1,2,3 or 0,1,126, 127 depending which command I use.
I had the original md0 working perfect.
Now it is a messed up and I need to get these numbers correct.
It looks as mixing UUID and label is also an issue - depending on command.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.