Kernel panic when booting - LVM problem
Hi,
I'm having a serious problem with getting my FC6 server to boot up.
It was working perfectly fine until I moved everything into a new case.
I've got 4 SATA drives - 2x 300GB & 2x 500GB. They are all configured in one volume group.
The problem is that when I boot up I get the following, then a kernal panic, then the system reboots.
Couldn't find device with uuid 'XXXXXXXXXXXXXXXXXXX'.
Couldn't find all physical volumes for volume group XXXXXX.
I have booted off the DVD and run "linux rescue". Initially it seemed to have got confused with partition names, thinking that it should be using /dev/sda2 instead of /dev/sdc2. I think I managed to resolve this by running lvcfgrestore.
Once it has booted into the rescue shell I am able to look at the contents of all the logical volumes in the volume group. It no longer comes up with any errors and seems to work fine.. However, as soon as I try to bot the system normally it tells me it cannot find the device.
The device it is refering to is /dev/sdb1 - which appears to work fine when I boot from the DVD.
I have also removed a raid set from /dev/sdb as it was giving the following when loading the rescue shell:
ERROR: hpt37x: wrong # of devices in RAID set "hpt37x_ehgjaggaf" [1/2] on /dev/sdb
ERROR: removing inconsistent RAID set "xxxxxxx"
To do this I ran dmraid using the -E option.
Any help to assist me with getting the system to boot will be much appreciated. Also if there is some way of saving exactly what the system prints out before rebooting would be good.
Thanks!
Adam
|