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]



Dieter Plaetinck 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)


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



[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