1

I try to install XenServer 6.5 with Software-RAID 1 at my home lab. With XenServer 6.2 this setup ran stable for a few months (at the same hardware).

XenServer 6.5 installation went smoothly and boots up without any errors. After enabling the kernel module with

echo "modprobe raid1" > /etc/sysconfig/modules/raid.modules

I followed this guide. Everything went fine until I have to boot from sdb. I can see the XenServer logo (without the loading bar) for a few seconds, then the server screen goes black and a reboot happen.

Does anybody know what went wrong or what I can try to fix the problem?

Andrew Schulman
  • 8,561
  • 21
  • 31
  • 47
Nat
  • 514
  • 4
  • 6

2 Answers2

2

You can also use e2label on md0 (RAID on first partitions) to add label on filesystem and make booting process independendent from /dev/md* names.

0

I found the solution for the problem. The guide is wrong. It is extremely important to create the mdadm.conf before running mkinitrd. Without the correct mdadm.conf the device mapper will name /dev/md0 to something silly (/dev/md125). The problem then is, that the device for the rootfs is not found at boot.

Nat
  • 514
  • 4
  • 6