copying lvm with the same name

Mikkel L. Ellertson mikkel at infinity-ltd.com
Thu Mar 19 01:09:44 UTC 2009


Frank Cox wrote:
> On Wed, 18 Mar 2009 17:43:44 -0700
> Aldo Foot wrote:
> 
>> Rename the VG on the sdb2 to something else other than VolGroup00.
>>
>>         vgrename  VolGroup00  <some_VG_name>
> 
> Both of the VG's are named "VolGroup00".  There doesn't appear to be a way to
> tell it to rename the VG on sdb2 and I don't know what it would rename if I
> issued the command above.  Perhaps the VG that I'm using on sda2?  Perhaps both
> of the VG's?  Or something even more interesting....
> 
Do the two VG's have the same UUID? If not, you can use the UUID as
part of the vgrename command. From the vgrename man page:

"vgrename Zvlifi-Ep3t-e0Ng-U42h-o0ye-KHu1-nl7Ns4 VolGroup00_tmp"

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20090318/662ba6ca/attachment-0001.bin 


More information about the users mailing list