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

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



On Fri, Dec 17, 2010 at 11:27 AM, Mauricio Tavares <raubvogel 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


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