LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Duplicate VG name VolGroup00: Existing [long UUID] (created here) takes precedence (https://www.linuxquestions.org/questions/linux-hardware-18/duplicate-vg-name-volgroup00-existing-%5Blong-uuid%5D-created-here-takes-precedence-4175414558/)

Crowdness 07-02-2012 10:37 PM

Duplicate VG name VolGroup00: Existing [long UUID] (created here) takes precedence
 
I am sure that someone has encountered this before, but I searched and could not find the solution, so here I am posting to see if anyone has a solution for me.

My server kept shutting down indicating that the cpu was overheating. After not being able to get the heat sink off and replace the it or any other component, I was forced to get a new cpu, motherboard and memory.

I placed the motherboard, memory and cpu in the old chassis, set up the bios and tried to boot my CentOS and it comes up with:

Booting CentOS (2.6.18-308.8.2.el5xen)
Red Hat nash version 5.1.19.6 starting
Reading all physical volumes. This may take a while...
No volume groups found
Volume group "VolGroup00" not found
mount: could not find filesystem '/dev/root'
setuproot: moving /dev failed: No such file or directory
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!

If I put the dvd in and go into linux rescue, I can see the drives and access them just fine. I see the /etc/lvm directory and everything.

I execute chroot /mnt/sysimage and type lvm.

The pvscan says:

WARNING: Duplicate VG name VolGroup00: Existing [long UUID 1] (created here) takes precedence over [long UUID 2]
Couldn't find device with [long UUID 3]
Couldn't find device with [long UUID 3]
PV unknown device VG VolGroup00 lvm2 [33.09 GB / 0 free]
PV /dev/sdb6 VG VolGroup00 lvm2 [290.75 GB / 0 free]
PV /dev/sda2 VG VolGroup00 lvm2 [279.34 GB / 0 free]
Total: 3 [611.19 GB] / in use: 3 [611.19 GB] / in no VG: 0 [0 ]

The vgscan says:

Reading all physical volumes. This may take a while...
WARNING: Duplicate VG name VolGroup00: Existing [long UUID 1] (created here) takes precedence over [long UUID 2]
Couldn't find device with uuid [long UUID 3]
Couldn't find all physical volumes for volume group VolGroup00
Couldn't find device with uuid [long UUID3]
Couldn't find all physical volumes for volume group VolGroup00
Volume group "VolGroup00" not found
Found volume group "VolGroup00" using metadata type lvm2

I can see the partitions and I can see everything that I should see, but the lvm seems to be out of sync.

Can anyone tell me how I should go about fixing this issue?

Kustom42 07-03-2012 02:47 PM

Good question, I have never seen it and wouldn't know where to start without nuking the LVs and starting it over. I'll ask one of the guys here who is our storage/LVM expert and see if he can give me any input, I'll post a follow up when I bounce this off him.


All times are GMT -5. The time now is 02:33 PM.