From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx07.extmail.prod.ext.phx2.redhat.com [10.5.110.11]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id oBHIv4OP026962 for ; Fri, 17 Dec 2010 13:57:05 -0500 Received: from mail-qw0-f46.google.com (mail-qw0-f46.google.com [209.85.216.46]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oBHIuqbh031056 for ; Fri, 17 Dec 2010 13:56:52 -0500 Received: by qwa26 with SMTP id 26so1031848qwa.33 for ; Fri, 17 Dec 2010 10:56:52 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <4D0B9D71.3080602@gmail.com> References: <4D0B9D71.3080602@gmail.com> Date: Fri, 17 Dec 2010 12:56:51 -0600 Message-ID: From: Richard Shaw Content-Transfer-Encoding: 8bit Subject: Re: [linux-lvm] Conflicting vg names but can't rename one Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="utf-8" To: LVM general discussion and development On Fri, Dec 17, 2010 at 11:27 AM, Mauricio Tavares 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