/dev/md[12] vanished

Roberto Ragusa mail at robertoragusa.it
Mon Nov 18 13:43:01 UTC 2013


On 11/16/2013 01:37 PM, Kevin H. Hobbs wrote:

> Somehow md1 and md2 became md127 and md126.

I remember similar behaviors in the past, it looks like
autodetected arrays are assigned high numbers instead of low ones.

One solution (or workaround) is to have a /etc/mdadm.conf file.

MAILADDR root
AUTO +imsm +1.x -all
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=xxxxxxxx:xxxxxxxx:xxxxxxxx:xxxxxxxx
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=xxxxxxxx:xxxxxxxx:xxxxxxxx:xxxxxxxx

(replace things where appropriate, including the xxx)

And then force dracut to rebuild the boot image.

-- 
   Roberto Ragusa    mail at robertoragusa.it


More information about the users mailing list