Article 5C2RH [SOLVED] Problem giving a name to a RAID device

[SOLVED] Problem giving a name to a RAID device

by
slac
from LinuxQuestions.org on (#5C2RH)
I have block device working as raid 1 device (/dev/sda2) which is a /boot partition and I created it using the command:

Code:mdadm --create /dev/md2 --name=2 --level 1 --raid-devices 3 /dev/sda1 /dev/sdb1 /dev/sdc1 --metadata=0.90... As stated at: http://slackware.uk/slackware/slackw...EADME_RAID.TXT

Does not seem like the name given to the device is ever going to be picked up at boot time after completing the installation. The device name at /dev/md and /dev/md/ is not /dev/md2 rather a /dev/md127 or other number like that is assigned after each reboot.

Such thing happens whether I include the metadata flag or not, but in the case where I do not include it and just let it be the default, 1.2 (I think), I still can track up the device names because they have a proper name set up, ie:

Code:mdadm --create /dev/md0 --name=root --level 5 --raid-devices 3 /dev/sda2 /dev/sdb2 /dev/sdc2... Even though the name at /dev/md is changed after reboot, the name at /dev/md/ will be slackware:root, but in the case of the /boot raid with metadata 0.90, the name at /dev/md/ is not consistent. I need to use 0.90 for the boot partition to be able to use it with lilo, according to the docs.

Any ideas? Am I missing something or is the "--name" flag at the documentation meaningless (because it does not seem to work)?latest?d=yIl2AUoC8zA latest?i=LDtDe1N9_l8:Iow6E0O8phw:F7zBnMy latest?i=LDtDe1N9_l8:Iow6E0O8phw:V_sGLiP latest?d=qj6IDK7rITs latest?i=LDtDe1N9_l8:Iow6E0O8phw:gIN9vFwLDtDe1N9_l8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments