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

Richard Shaw hobbes1069 at gmail.com
Fri Dec 17 18:56:51 UTC 2010


On Fri, Dec 17, 2010 at 11:27 AM, Mauricio Tavares <raubvogel at gmail.com> wrote:
> vgrename SB3NfW-swQM-5rdw-xf5e-z6At-r5DM-dUwG7D export1
>  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
>  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
>  WARNING: Duplicate VG name export: fjM9qy-aCEM-iluj-yTdQ-CwT5-Iijk-uOYXlB
> (created here) takes precedence over SB3NfW-swQM-5rdw-xf5e-z6At-r5DM-dUwG7D
>  Volume group "export" still has active LVs
>
> What am I missing here? I thought if I told it to rename the vg with a given
> uuid I would be golden. As you can see, that is not the case.

I think you need to make the vg unavailable before you can rename it:

vgchange -an SB3NfW-swQM-5rdw-xf5e-z6At-r5DM-dUwG7D

then your vgrename should work.

Richard




More information about the linux-lvm mailing list