![](https://seccdn.libravatar.org/avatar/a836ff90f492078f494adcf0c6059fc6.jpg?s=120&d=mm&r=g)
Andrei Borzenkov composed on 2015-02-01 09:13 (UTC+0300):
Felix Miata wrote:
md118 = sda8 + sdb8 label: 1md08tmp md119 = sda9 + sdb9 label: 1md09root1
After completing the YaST2 build process, I installed 13.1 on 1md09root1. This is the (condensed) mdadm.conf installation created, with appended the 2 sda/sdb partitions making up each device:
DEVICE containers partitions ARRAY /dev/md/srv10:md-home UUID=99e6... ARRAY /dev/md/srv10:md-isos UUID=637f... # P17
I'd like to get back the orderly simplicity of md0-md9
Do not use meaningful names then. Use md0 - md9 as name (or possibly simply 0 - 9). X in mdX is device minor number which is allocated at runtime; if array name looks like number, mdadm is using it as minor number; otherwise it allocates one from upper half to reduce possibility of collision.
Too late for that for this particular HD pair, but I have managed to reduce my confusion by including /dev/mdX metadata=1.0 following ARRAY on each device line in /etc/mdadm.conf, then rebooting the prior kernel, uninstalling the newest kernel, and reinstalling the newest kernel, for the 13.2 and 13.3 installations. For 13.1 I've been a bit less daring, so have only changed mdadm.conf, getting the mdX names I expect for all except the / partition, which in every installation to start with was md127, and remains in 13.1, probably only until the next update kernel arrives. Is there some what to provide mdadm.conf to the installer, getting the good names from the outset instead of via the convolution I went through?
Can I simply edit away the hostname portion, sort the balance into partition order, and have the boot process assign device names in predictable sequence each time?
You already have predictable stable unique name that you yourself assigned. Why do you care what minor number device gets?
In addition to what I wrote in reply previously, it matters in what shows up in fdisk -l, df and mount output, which means I always have to somehow convert from md1## to something else in order to know what I'm looking at in their output. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org