[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: copying lvm with the same name



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!

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]