[Eisfair] [e1] eiskernel 2.8.0 (Status 'stable') verfügbar - 3.2er Kernel für eisfair-1

Thomas Zweifel t2fel at gmx.net
So Jan 11 16:48:36 CET 2015


Hallo Thomas

Am 11.01.2015 um 13:23 schrieb Thomas Bork:
> Da Du nebenbei auch andere Raid-Level in /proc/mdstat zu stehen hast
> (raid5 und raid1), spielt das aber keine Rolle, denn es wird trotzdem
> startraid='1' gesetzt und damit greift:
> 
> # do this also by only ide devices, lilo.conf with append line
> # raid=noautodetect will make sure, autodetect runs always
> # in initrd
> if [ -n "$startraid" ]
> then
>     # new variant with mdadm in initrd
>     cp /sbin/mdadm $initrd_mount/sbin
>     echo "DEVICE /dev/[sh]d*" >$initrd_mount/etc/mdadm.conf
>     mdadm --examine --scan >>$initrd_mount/etc/mdadm.conf
>     echo "/sbin/mdadm --assemble --scan" >>$initrd_mount/linuxrc
>     message="Added /sbin/mdadm for software raid to linuxrc."
>     echo "$message"
>     echo "$message" >>"$klogfile"
> fi
> 
> Ich sehe nicht, wie dann etwas in der erzeugten initrd fehlen sollte.

Es tut halt nur GENAU DAS, was ihm aufgetragen wurde:

service02test 2.3.7 # cat /etc/mdadm/mdadm.conf | grep DEV
DEVICE /dev/sdb[1-9]
DEVICE /dev/sdc[1-9]
DEVICE /dev/sdd[1-9]
DEVICE /dev/sde[1-9]
DEVICE /dev/sda[1-9]
service02test 2.3.7 # cat /etc/mdadm/mdadm.conf.lvm | grep DEV
DEVICE partitions

Gebe ich mdadm den -c/etc/mdadm/mdadm.conf.lvm Schalter mit, wie es das
mkmdadmconf.sh Skript tut, sieht es wieder korrekt aus. :-)



Gruss Thomas


Mehr Informationen über die Mailingliste Eisfair