[ILUG] md weirdness - solved

Niall O Broin niall at linux.ie
Wed Oct 20 20:02:35 IST 2004


On 20 Oct 2004, at 17:39, Colm MacCarthaigh wrote:

> Debian does all of the md stuff in an initrd anyway these days :)

No, not quite all of it. There are two start scripts, mdadm and 
mdadm-raid. mdadm-raid was the culprit. There's a variable in 
/etc/mdadm/debian.conf called AUTOSTART and if this is set to true, 
mdadm-raid uses mdrun to start all raid devices. For whatever reason, 
this doesn't work on this box, though it seems it must have under 2.4. 
If AUTOSTART is false, mdadm-raid instead does an mdadm -A -s which 
assembles the array which is exactly what I want.

So that's that one done and dusted, several hours later. Thanks to all 
who chipped in both here and on #linux


Niall




More information about the ILUG mailing list