Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have setup Raid 1 & Raid 10 in Virtual Box for learning purpose.

The following Partitions for 4 Hard Drives:

I make a 100mb partition (/boot) on four drives and make that a raid 1 partition.

Then with the remaining space on each drive, I've setup software raid 10 and configure it to LVM. In the LVM I setup a 4gb swap partition and 20GB for root partition (/) as ext4.

It appear to be working when I have installed CentOS 6.2 64Bit. Then I decided to remove second HD (Disk2.vdi) to see what happen and restart the virtual machine then I get an error:

Kernel panic - not syncing: Attempted to kill init!

This is where I get stuck. I was expecting OS to load up fine and let me know one disk has failed, but it didn't. What's wrong?

Edit: I dug further to see what went wrong, here's the screenshot:

enter image description here

Is this normal when a disk fails? Or did I not setup the partitions/raid correctly?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

I have got it to work! Many thanks to 'Shane Madden' for help and advice in 'The Comms Room' Chat.

There is a bug in CentOS - http://bugs.centos.org/view.php?id=5400

To solve this problem:

  • Reinstall CentOS again and create Partitions (Raid 1 & Raid 10)
  • Once installed, you must yum update to update the system
  • Restart the server
  • Take out any disk and restart .. it should load to OS fine without kernel error :)

Why didn't it let me know there was a disk failure?

share|improve this answer
    
Well, it kinda did up at the top with the missing LVM Groups. Upvote for you for sticking with this one. These problems are always excellent learning experiences. –  Magellan Apr 4 '12 at 4:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.