<span style='font-family:Verdana'><span style='font-size:12px'>Hi and thanks to all,<br />
<br />
unfortunately the "-e 1.0" option did not solve the problem.<br />
<br />
I now tried the following config:<br />
<br />
---------------------------------------------------------------------------------<br />
disk_config sda<br />
primary - 10000 - -<br />
primary - 10000 - -<br />
<br />
disk_config sdb<br />
primary - 10000 - -<br />
primary - 10000 - -<br />
<br />
disk_config raid<br />
raid1 / sda1,sdb1 ext3 rw mdcreateopts="-e 1.0"<br />
raid1 swap sda2,sdb2 swap sw mdcreateopts="-e 1.0"<br />
---------------------------------------------------------------------------------<br />
<br />
mdadm is now called whith the -e option:<br />
<br />
...<br />
Executing: yes | mdadm --create -e 1.0 /dev/md0 --level=raid1 --force --run --id-devices=2 /dev/sda1 /dev/sdb1<br />
[ 54.028489] raid1: md0 is not clean -- starting background reconstruction<br />
Executing: mdfs.ext3 /dev/md0<br />
Executing: yes | mdadm --create -e 1.0 /dev/md1 --level=raid1 --force --run --id-devices=2 /dev/sda2 /dev/sdb2<br />
[ 54.028489] raid1: md1 is not clean -- starting background reconstruction<br />
Executing: mkswap /dev/md1<br />
Executing: fai-vol_id -u /dev/md1<br />
Executing: fai-vol_id -u /dev/md1<br />
Executing: fai-vol_id -u /dev/md0<br />
Executing: fai-vol_id -u /dev/md0<br />
...<br />
<br />
Creation of raid devices does work, after FAI installation I was able to mount them, fstab looks good too.<br />
<br />
I use Debian 6.0.3 and Grub2 1.98 at the moment.<br />
<br />
<br />
regards<br />
<br />
<br />
<p style="margin:0px; padding:0px;" >
</p>
<blockquote style="border-left: 1px solid #CCC; padding-left: 5px; margin-left: 5px; margin-bottom: 0px; margin-top: 0px; margin-right: 0px;" type="cite">
<p style="margin:0px; padding:0px;" >
<span style="font-family:Verdana"><span style="font-size:12px">----- Original Message -----</span></span></p>
<p style="margin:0px; padding:0px;" >
<span style="font-family:Verdana"><span style="font-size:12px">From: Michael Tautschnig</span></span></p>
<p style="margin:0px; padding:0px;" >
<span style="font-family:Verdana"><span style="font-size:12px">Sent: 10/31/11 08:09 PM</span></span></p>
<p style="margin:0px; padding:0px;" >
<span style="font-family:Verdana"><span style="font-size:12px">To: linux-fai@uni-koeln.de</span></span></p>
<p style="margin:0px; padding:0px;" >
<span style="font-family:Verdana"><span style="font-size:12px">Subject: Re: RAID Konfiguration FAI</span></span></p>
<br />
<div>
<div>
<pre style="white-space: pre-wrap; word-wrap: break-word; font-size:11;pre">
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 superbloc 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</pre>
</div>
</div>
</blockquote>
<p style="margin:0px; padding:0px;" >
</p>
</span></span>