Two LVM VolGroup’s, same name, one is system disk – what to do?

It’s a lot easier to rename the “old” volume group if the old drive is the only one connected to the system.

Using your first FC4 installation CD and with only the old drive installed, boot into rescue mode (boot: linux rescue), but don’t search for or mount the FC installation. At the command prompt, you will probably need to active the lvm like this:

lvm vgscan

lvm lvscan

lvm vgchange -a y

lvm pvscan

lvm lvscan

The last two commands should list your volume group(s) and logical volume(s). Now use vgrename to fix the problem:

lvm vgrename VolGroup00 whatever_you_want_to_call_it

Note that all lvm commands need to be preceded with “lvm” in rescue mode.

via Two LVM VolGroup’s, same name, one is system disk – what to do?.

Xen: How to Convert An Image-Based Guest To An LVM-Based Guest

This short article explains how you can move/convert a Xen guest that uses disk images to LVM volumes. Virtual machines that use disk images are very slow and heavy on disk IO, therefore it’s often better to use LVM. Also, LVM-based guests are easier to back up (using LVM snapshots).

I do not issue any guarantee that this will work for you!

Via Xen: How to Convert An Image-Based Guest To An LVM-Based Guest | HowtoForge – Linux Howtos and Tutorials.

How To Mount a Linux LVM Partition in a XenServer Host

This article describes how to mount a Linux Logical Volume Manager (LVM) partition located inside a virtual disk (VDI) in a XenServer Host.

via CTX117791 – How To Mount a Linux LVM Partition in a XenServer Host – Citrix Knowledge Center.

Finally!!!!

I have never been a fan of logical volume management which seems to be a Red Hat thing.  It completely complicates matters when mounting drives.  XenServer, which is based off centos (I think) is littered with LVMs as the result of performing the above procedure will attest.  I hope Citrix had a good reason for doing this.