Hi and thanks to all,

 unfortunately the "-e 1.0" option did not solve the problem.

 I now tried the following config:

 
---------------------------------------------------------------------------------
 disk_config sda
 primary - 10000 - -
 primary - 10000 - -

 disk_config sdb
 primary - 10000 - -
 primary - 10000 - -

 disk_config raid
 raid1 / sda1,sdb1 ext3 rw mdcreateopts="-e 1.0"
 raid1 swap sda2,sdb2 swap sw mdcreateopts="-e 1.0"
 
---------------------------------------------------------------------------------

 mdadm is now called whith the -e option:

 ...
 Executing: yes | mdadm --create -e 1.0 /dev/md0 --level=raid1 --force --run 
--id-devices=2 /dev/sda1 /dev/sdb1
 [ 54.028489] raid1: md0 is not clean -- starting background reconstruction
 Executing: mdfs.ext3 /dev/md0
 Executing: yes | mdadm --create -e 1.0 /dev/md1 --level=raid1 --force --run 
--id-devices=2 /dev/sda2 /dev/sdb2
 [ 54.028489] raid1: md1 is not clean -- starting background reconstruction
 Executing: mkswap /dev/md1
 Executing: fai-vol_id -u /dev/md1
 Executing: fai-vol_id -u /dev/md1
 Executing: fai-vol_id -u /dev/md0
 Executing: fai-vol_id -u /dev/md0
 ...

 Creation of raid devices does work, after FAI installation I was able to mount 
them, fstab looks good too.

 I use Debian 6.0.3 and Grub2 1.98 at the moment.


 regards


----- Original Message -----
From: Michael Tautschnig
Sent: 10/31/11 08:09 PM
To: linux-fai@uni-koeln.de
Subject: Re: RAID Konfiguration FAI

 Hi all, I hope sticking with English is ok with everyone. Otherwise please 
just drop a brief note here. > On 10/28/2011 12:46 PM, Julian Decker wrote: > > 
Hallo, > > > > ich versuche mich derzeit an der Konfiguration eines softRAIDs 
und > > habe damit leider Schwierigkeiten. > > Zunächst habe ich offensichtlich 
den Fehler gemacht, die boot > > Partition (Kernel) in das RAID zu legen, was 
anscheinend nicht möglich > > ist, da der Kernel (und in Folge mdadm) zuerst 
geladen werden muss um > > überhaupt das softRAID ansprechen zu können - das 
leuchtet mir ja > > soweit ein. > > Ich habe nun die boot Partition außerhalb 
des RAIDs angelegt und nun > > kann das System zwar den MBR finden und den 
Bootloader (Grub) laden, > > allerdings findet dieser die root Partition nicht. 
> > Braucht Grub für die Verwendung des RAIDs eine spezielle Konfiguration? > > 
Which version of Grub is that (and which Debian release is it)? [...] > > The 
problem is superblock version 1.2 > > having s!
 uperbloc v1.0 solves the problem with grub and raid1 > > I have added 
metadata=1.0 to the mdadm.conf in the nfsroot > and that solved the problem 
with bootable raid1 > > cat 
/srv/fai/nfsroot/live/filesystem.dir/etc/mdadm/mdadm.conf | grep > metadata > 
CREATE owner=root group=disk mode=0660 auto=yes metadata=1.0 > This thus seems 
to be a recurrence (which new metadata versions) of 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570117 Note that fiddling with 
mdadm.conf shouldn't be necessary - just use mdcreatopts="-e 1.0" in the raid1 
... line of the disk_config file. Best, Michael

Antwort per Email an