[arch-general] limited softraid support in AIF (WAS:Why Is My RAID Installing Failing?)
Alexander Duscheleit
jinks at archlinux.us
Sat Jan 23 05:36:10 EST 2010
Sorry for the late reply,
RL obligations caught up with me in a pretty intrusive way :/
On Fri, 15 Jan 2010 22:06:38 +0100
Dieter Plaetinck <dieter at plaetinck.be> 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)
OK, i wasn't aware of that. I thought user modifications would already
be known at that point. (I.e. it happens after mounting the target
system)
>
> is it not an option to just look at all blockdevices?
> for example, what do you have in /proc/partitions on your raid system?
That would work of course.
[jinks at hydra]~ % grep md /proc/partitions
9 0 48064 md0
9 1 72051392 md1
9 2 166818688 md2
The only downside I can see is, that arch *might* activate arrays which
are actually used by other Linux system on the same computer, but that
shouldn't harm anything.
Jinks
More information about the arch-general
mailing list