[arch-general] limited softraid support in AIF (WAS:Why Is My RAID Installing Failing?)
Baho Utot
baho-utot at columbus.rr.com
Fri Jan 15 16:58:38 EST 2010
Dieter Plaetinck wrote:
> On Thu, 14 Jan 2010 22:51:32 +0100
> Alexander Duscheleit <jinks at archlinux.us> wrote:
>
>> (..)
>
> okay so long story short, you only want the mdadm.conf updating in AIF.
> there's a catch about your proposal though:
> - it's hard to parse fstab
> - you would only know the blockdevices after user configured fstab,
> which is after prefill_config (note the *pre* fill part. this stuff
> is supposed to happen so that the user can change the config
> manually after it)
>
why? Couldn't a mdadm -Es > /mnt/etc/mdadm.conf be suffice?
I don't think you would have to parse fstab, All that you doing is makin
a mdadm.conf...which you can do after thye raid is constructed.
mdadm -Es > /etc/mdadm.conf
mdadm -As
And the mdadm.con is made and the array is started.
> is it not an option to just look at all blockdevices?
> for example, what do you have in /proc/partitions on your raid system?
>
> Dieter
More information about the arch-general
mailing list