[CentOS] LiveCD System recovery - Mounting LVM?

Sat Feb 5 14:16:52 UTC 2011
JohnS <jses27 at gmail.com>

On Fri, 2011-02-04 at 10:06 -0600, Gregory P. Ennis wrote:

> [root at SeVi ~]# vgrename /dev/VolGroup00 /dev/SeViGroup00
>   Volume group "VolGroup00" still has active LVs
>   Internal error: Volume Group SeViGroup00 was not unlocked
>   Device '/dev/sda2' has been left open.
>   Device '/dev/sda2' has been left open.
>   Device '/dev/sda2' has been left open.

man vgrename....

 All  the  Volume  Groups  visible to a system need to have different
names.  Otherwise many LVM2 commands will refuse to run or give warning
mes-sages.

Try by using "vgdisplay" to get the UUID and use the "UUID" to
"vgrename" otherwise start unpluging drive cables to get to the LVM you
need to rename.

John