RE: mdadm.conf on Ubuntu - it's alive!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I don't have a burning question per se, but I wanted to share something and also ask a question related to it.  I was having this problem on Ubuntu 12.04 where the raid would keep trying to build at md127 instead of md0 (as-built).  I should add that before doing the following steps, it was a guessing game on each reboot if things would start ok.  I regularly got messages during boot about "HDIO_IDENTITY_FAILED" and sometimes messages about degraded raid array during bootup.  Not absolutely sure about cause and effect there, but the following completely and totally ended all these problems:
guess VGER won't allow me to include here it keeps bouncing my post back - let me know if you need it) 

I read a URL post that suggested the following might fix my problems so I did it:

 1076  mdadm --examine --scan --config=mdadm.conf >> /etc/mdadm/mdadm.conf
 1077  cd /etc/mdadm
 1078  vi mdadm.conf
 1079  sudo update-initramfs -u

Ever since sweet!  all runs like the railroad now.

Now here's the question part.  Here's my current mdadm.conf:

root@Ubuntu1204:~# cat /etc/mdadm/mdadm.conf
DEVICE partitions
DEVICE /dev/raiddisk1 /dev/raiddisk2 /dev/raiddisk3
ARRAY /dev/md0 metadata=1.2 UUID=8a14ee9a:ca0c3a48:51931b2a:338fee9d
MAILADDR root
ARRAY /dev/md/0 metadata=1.2 UUID=8a14ee9a:ca0c3a48:51931b2a:338fee9d name=Ubuntu1204:0

I'm not changing it because everything is working so flawlessly, but mira : those last 2 lines I did not put in and they were not in there when I ran my commands above (the MAILADDR line and the 2nd ARRAY line).  I would not have guessed that everything would run so great with 2 different no less ARRAY lines in the mdadm.conf but my system seems to really love this mdadm.conf the way rivers love to flow.

Wondering if anyone can explain how the other 2 lines got in there, why the mdadm.conf works ok with 2 ARRAY lines and any other nuggets of info.

thanks Gil
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux