From: Mauricio Tavares <raubvogel@gmail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Conflicting vg names but can't rename one
Date: Fri, 17 Dec 2010 15:29:24 -0500 [thread overview]
Message-ID: <4D0BC824.1010308@gmail.com> (raw)
In-Reply-To: <AANLkTin8CfZhNGoA_DcMkgaCFtpp_OMMoXTV7X1DfNHv@mail.gmail.com>
On 12/17/2010 01:56 PM, Richard Shaw wrote:
> 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
>
Do you think I need to persuade it some more?
raub@ubuntu:~$ sudo vgdisplay export
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 ---
VG Name export
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 2
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 1
Max PV 0
Cur PV 1
Act PV 1
VG Size 465.76 GiB
PE Size 4.00 MiB
Total PE 119234
Alloc PE / Size 102400 / 400.00 GiB
Free PE / Size 16834 / 65.76 GiB
VG UUID fjM9qy-aCEM-iluj-yTdQ-CwT5-Iijk-uOYXlB
raub@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@ubuntu:~$
Maybe I need to unmount/disconnect the hard drive with the vg being used
and then try to rename the other drive...
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
next prev parent reply other threads:[~2010-12-17 20:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-17 17:27 [linux-lvm] Conflicting vg names but can't rename one Mauricio Tavares
2010-12-17 18:46 ` Alasdair G Kergon
2010-12-17 19:38 ` Mauricio Tavares
2010-12-17 18:56 ` Richard Shaw
2010-12-17 20:29 ` Mauricio Tavares [this message]
2010-12-17 21:11 ` Stuart D Gathman
2010-12-17 21:37 ` Richard Shaw
2010-12-17 21:37 ` chris procter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D0BC824.1010308@gmail.com \
--to=raubvogel@gmail.com \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.