Quote:
Originally Posted by jdege
How do I specify which of the two VolGroup00 is the one I want to rename?
|
I take the drive I don't want to change out of the box, and boot from the rescue CD. Doh!
Repeating what I found in another thread, for anyone who follows along:
Two LVM VolGroup's, same name, one is system disk - what to do?
From the rescue CD:
# this scans for and activates the logical volumes:
lvm vgscan
lvm lvscan
lvm vgchange -a y
lvm pvscan
lvm lvscan
# this deactivates the logical volumes so we can change the name of the volume group:
lvm vgchange -a n
#this changes the name of the volume group:
lvm vgrename VolGroup00 VolGroup01
Shut down, put the other drive in, and boot from the new drive.
#create a mount point for the old drive
mkdir /mnt/old/root
#mount the old drive
mount -t ext3 /dev/mapper/VolGroup01-LogVol00 /mnt/old/root
Thanks, folks, for the help.