[ale] initramfs capable of a multi-device btrfs / new initramfs with dracut help?

Chad Huneycutt chad.huneycutt at gmail.com
Mon Jul 19 17:13:40 EDT 2010


Brian,  mkinitrd (haven't messed with dracut, but I am sure it also
has a process) installs it there. So you have to run mkinitrd if you
change the raid setup.  mkinitrd is just a script, so take a look.

- Chad

On Mon, Jul 19, 2010 at 9:25 AM, Brian Pitts <brian at polibyte.com> wrote:
> On 07/19/2010 12:32 AM, Michael B. Trausch wrote:
>> On Sat, 2010-07-17 at 18:21 -0400, Brian Pitts wrote:
>>> On 07/17/2010 02:47 PM, Michael Trausch wrote:
>>>> You would configure the array in mdadm.conf (either
>>> in /etc/mdadm.conf or
>>>> /etc/mdadm/mdadm.conf) and the use mdadm to start up the array, for
>>> example:
>>>>
>>>> ARRAY /dev/md0 level=raid6 metadata=1.1 num-devices=5
>>>> UUID=3b4045f1:253f01cd:de8
>>>> 023f1:8438c90d name=fennel:ATS_SRVR_R6_0
>>>>
>>>> And:
>>>>
>>>> mdadm --assemble /dev/md0 --uuid=3b4045f1:253f01cd:de8023f1:8438c90d
>>>
>>> What if / is on the RAID?
>>
>> Well, that depends.
>
> Thanks for the response, but I think I already understood that part.
>
> I guess my question was that, if your array has to be configured in /etc
> rather than autodetected, how is that configuration transferred into the
> initramfs (which we'll assume is on a non-RAID /boot)? This may be a
> questions with as many answers as there are distros.
>
> GRUB2 supposedly supports booting from any RAID level linux supports.
>
> http://www.mail-archive.com/grub-devel@gnu.org/msg08345.html
>
> --
> All the best,
> Brian Pitts
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>



-- 
Chad M. Huneycutt


More information about the Ale mailing list