I think you can change all the uuid's in one set of disks using 'pvcreate --force' and then 'pvscan -u' to display the new random uuid's and then copy/paste them into that edited file where you're changing the volgroup name. Hope you don't have a lot of LVM PV's to change.
-------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of RPN01 Sent: Friday, February 09, 2007 2:26 PM To: [email protected] Subject: Re: Renaming an LVM volume group... I had also found this article just before I saw your message. The one thing it doesn¹t deal with, though, that would be useful for Linux on z, and for my current Intel problem, is that the uuid¹s of all the physical volumes will be duplicates of the current system. This will, however, work for working with a non-cloned filesystem that happens to have a vg name that matches the name used in your ³recovery² system. -- .~. Robert P. Nix Mayo Foundation /V\ RO-OC-1-13 200 First Street SW / ( ) \ 507-284-0844 Rochester, MN 55905 ^^-^^ ----- "In theory, theory and practice are the same, but in practice, theory and practice are different." > From: "Romanowski, John (OFT)" <[EMAIL PROTECTED]> > Reply-To: Linux on 390 Port <[email protected]> > Date: Fri, 9 Feb 2007 12:16:23 -0500 > To: <[email protected]> > Conversation: Renaming an LVM volume group... > Subject: Re: Renaming an LVM volume group... > > This might help you, See the article "Recovery of RAID and LVM2 Volumes" at > http://www.linuxjournal.com/article/8874, in its section named " Recovering > and Renaming the LVM2 Volume" it describes editing the duplicate vol group's > backup file to change the volgroup's name and using vgcfgrestore -f to make > LVM rewrite that volgroup's metatdata from the edited file. also see Listing 7 > and way way down, the "corrected listing 6". ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
