[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <orac6p870v.fsf@free.oliva.athome.lsd.ic.unicamp.br>
Date: Tue, 01 Aug 2006 00:33:04 -0300
From: Alexandre Oliva <aoliva@...hat.com>
To: Neil Brown <neilb@...e.de>
Cc: Andrew Morton <akpm@...l.org>, linux-kernel@...r.kernel.org,
linux-raid@...r.kernel.org
Subject: Re: let md auto-detect 128+ raid members, fix potential race condition
On Jul 31, 2006, Alexandre Oliva <aoliva@...hat.com> wrote:
>> mdadm --assemble --scan --homehost='<system>' --auto-update-homehost \
>> --auto=yes --run
>> in your initrd, having set the hostname correctly first. It might do
>> exactly what you want.
> I'll give it a try some time tomorrow, since I won't turn on that
> noisy box today any more; my daughter is already asleep :-)
But then, I could use my own desktop to test it :-)
FWIW, here's the patch for Fedora rawhide's mkinitrd that worked for
me. I figured even without --homehost it worked fine, even without
HOMEHOST set in mdadm.conf.
I hope copying mdadm.conf to initrd won't ever hurt, can you think of
any case in which it would?
View attachment "mkinitrd-mdadm.patch" of type "text/x-patch" (650 bytes)
--
Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/
Secretary for FSF Latin America http://www.fsfla.org/
Red Hat Compiler Engineer aoliva@...dhat.com, gcc.gnu.org}
Free Software Evangelist oliva@...d.ic.unicamp.br, gnu.org}
Powered by blists - more mailing lists