Hello,

does your initrd, which is installed on the clients, contain lvm and md-support as modules? Or is the raid-support directly compiled into the kernel?

Greetings

Sven


On 24.11.2014 16:50, Antanas Masevicius wrote:
Hello,

been trying to install with following layout

disk_config sda bootable:1 fstabkey:uuid
primary -        200      -    -
primary -        0-     -    -

disk_config sdb bootable:1 fstabkey:uuid
primary -        200      -    -
primary -        0-     -    -

disk_config raid fstabkey:uuid
raid1 /boot    sda1,sdb1     ext4 rw
raid0 -        sda2,sdb2     ext4 default

disk_config lvm fstabkey:uuid
vg vg1 md1
vg1-root_  /      12G    ext4 rw,noatime,errors=remount-ro
vg1-swap swap      4G   swap rw
vg1-tmp  /tmp      1G    ext4 rw,nosuid
vg1-var  /var      30G-  ext4 rw


Installation finishes, but looks like boot from md0 is not proceeding. shell.log outputs:

=====   shell: CENTOS/40-install-grub   =====
Can't match device: /dev/md0
Can't match device:
UUID=0359de7e-82e0-48d7-b8ad-e6cdcfc3721b /boot ext4 rw 0 2 # device at install: /dev/md0


    GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
   completions of a device/filename.]
grub> device  /dev/md0

Error 1: Unrecognized device string


md devices are being created:

root@centos~# ls -al /dev/md*
brw-rw---T 1 root disk 9, 0 Nov 24 17:10 /dev/md0
brw-rw---T 1 root disk 9, 1 Nov 24 17:12 /dev/md1

but for some reason 'device2grub' still complains about them.

my packages:

i fai-client                       4.3
i fai-doc                        4.3
p fai-nfsroot                        4.3
i fai-quickstart                       4.3
i fai-server                       4.3
p fai-setup-storage                        4.3
p liblinux-lvm-perl                        0.17-2


best regards,

Antanas Masevicius
TENDO LT
https://tendo.lt



--
Sven Schumacher - Systemadministrator Tel: (0511)762-2753
Leibniz Universitaet Hannover
Institut für Turbomaschinen und Fluid-Dynamik       - TFD
Appelstraße 9 - 30167 Hannover
Institut für Kraftwerkstechnik und Wärmeübertragung - IKW
Callinstraße 36 - 30167 Hannover

Antwort per Email an