CentOS 6.2 on partitionable mdadm RAID1 (md_d0) - kernel panic with either disk not present
Environment:
CentOS 6.2 amd64 (min. server install)
2 virtual hard disks of 10GB each
Linux KVM
Following the instructions on CentOS Wiki
<http://wiki.centos.org/HowTos/Install_On_Partitionable_RAID1> I
installed a min. server in Linux KVM setup (script shown below)
The system boots fine when both disks are available.
When I remove either of the disks (delete the -drive file= line), the
system boots to a point wherein the GRUB menu is displayed and the
progress bar displays for a while till the white bar reaches about
halfway point and then it:
Kernel panic - not syncing: Attempted to kill init!
The purpose of the above exercise was to test if the system will work
in spite of losing one of the disks which is what RAID1 is supposed to
do (I am emulating by removing the disk image line from the definition
of the system).
Has anyone tested CentOS 6.2 on partitionable mdadm RAID1 setup in
bare metal hardware?
Any suggestions/ideas as to what I may doing incorrectly?
Device Boot Start End Blocks Id System
/dev/sda1 * 1 523 4194304 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 523 1045 4194304 83 Linux
/dev/sda3 1045 1176 1048576 82 Linux swap / Solaris
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 523 4194304 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sdb2 523 1045 4194304 83 Linux
/dev/sdb3 1045 1176 1048576 82 Linux swap / Solaris
Device Boot Start End Blocks Id System
/dev/md_d0p1 * 257 1048832 4194304 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/md_d0p2 1048833 2097408 4194304 83 Linux
Partition 2 does not end on cylinder boundary.
/dev/md_d0p3 2097409 2359552 1048576 82 Linux swap / Solaris
Partition 3 does not end on cylinder boundary