LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Volume Group "VolGroup00" not found after moving to 3ware 9650SE (https://www.linuxquestions.org/questions/linux-general-1/volume-group-volgroup00-not-found-after-moving-to-3ware-9650se-793444/)

rttrey 03-05-2010 12:05 PM

Volume Group "VolGroup00" not found after moving to 3ware 9650SE
 
I wanted to take a current system with a working CentOS 4.7 LVM and move it to a 3ware 9650SE raid card so that I can mirror the drive and have a RAID1. The current system has 2 hard drives. One hard drive contains the CentOS 4.7 LVM install and the second drive is not part of the LVM. The second drive is being used for basic backups. I took a copy of the OS HD using dd and confirmed it worked by booting it up with the hard drive on the motherboard. When I connect it to the 3ware raid card with a new hard drive for the RAID1 and configure the 3ware raid card for RAID1, I get the "Volume Group "VolGroup00" not found" error. It gets past grub and then starts to load up but that is when the error occurs.

Any help would be greatly appreciated.

The error message exactly is:

Making device-mapper control node
Scanning logical volumes
Reading all physical volumes. This may take a while...
No volume groups found
Activating logical volumes
Volume group "VolGroup00" not found
ERROR: /bin/lvm exited abnormally! (pid 461)
Creating root device
Mounting root filesystem
mount: error 6 mounting ext3
mount: error 2 mounting none
Switching to new root
switchroot: mount failed: 22
umount /initrd/dev failed: 2
Kernel panis - not syncing: Attempted to kill init!



Thank you!

troop 03-05-2010 12:17 PM

Unfortunately, the 3w-9xxx linux kernel module didn't get support for the 3ware 9650se controller until 2.6.19. You may need to upgrade your linux kernel.

rttrey 03-10-2010 11:59 AM

Figured it out. I forgot to include the 3ware module when I remade my mkinitrd.

I needed to have something similar to this (from rescue mode):
chroot /mnt/sysimage
mkinitrd --with=3w-9xxx initrd-X.X.X.X-X.img initrd-X.X.X.X-X

I also reinstalled grub (not sure if this is needed, didn't test otherwise.

grub
root (hd0,0)
setup (hd0)
quit

BIOS doesn't recognize the 3ware card but it will still boot up after striking the F1 at the error message (in my scenario, may not be same for you).


All times are GMT -5. The time now is 12:17 AM.