[linux-lvm] Conflicting vg names but can't rename one

Stuart D Gathman stuart at bmsi.com
Fri Dec 17 21:11:56 UTC 2010


On 12/17/2010 03:29 PM, Mauricio Tavares wrote:
>
> raub at ubuntu:~$ sudo vgchange -an SB3NfW-swQM-5rdw-xf5e-z6At-r5DM-dUwG7D
>   WARNING: Duplicate VG name export: Existing 
> fjM9qy-aCEM-iluj-yTdQ-CwT5-Iijk-uOYXlB (created here) takes precedence 
> over SB3NfW-swQM-5rdw-xf5e-z6At-r5DM-dUwG7D
>   Volume group "SB3NfW-swQM-5rdw-xf5e-z6At-r5DM-dUwG7D" not found
> raub at ubuntu:~$
>
> Maybe I need to unmount/disconnect the hard drive with the vg being 
> used and then try to rename the other drive...
There is a vgimportclone script posted to this list, and added to recent 
LVM sources, that handles the situation where the UUID is also identical 
(due to hardware cloning).  Since you have distinct UUIDs, there is 
something we are all missing.




More information about the linux-lvm mailing list