Re: limited softraid support in AIF (WAS:Why Is My RAID Installing Failing?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxxxx> wrote:

> On Thu, 14 Jan 2010 22:51:32 +0100
> Alexander Duscheleit <jinks@xxxxxxxxxxxx> 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@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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux