All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Teigland <teigland@redhat.com>
To: Xen <list@xenhideout.nl>
Cc: Linux lvm <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] duplicate pv change uuid
Date: Fri, 6 Jan 2017 13:04:32 -0600	[thread overview]
Message-ID: <20170106190432.GA22165@redhat.com> (raw)
In-Reply-To: <ea995d2fb8e2be94ab44e870c88a5be8@xenhideout.nl>

On Fri, Jan 06, 2017 at 07:55:53PM +0100, Xen wrote:
> I want to ask again,
> 
> How can I change the UUID of a duplicated PV?
> 
> I mirrored a partition to another disk and tried to change its UUID with
> pvchange -u.
> 
> But I think LVM had already decided to replace the reference to the PV
> (partition) on the old disk by the reference to the new disk, or something.
> 
> For some reason it always prefers the wrong one.
> 
> Now I booted with just one disk but I cannot change the UUID of the running
> system, but if I connect the other disk I am afraid I won't be able to
> change it also.
> 
> How does one do this, again?

vgimportclone is meant to do this.  It strategically uses filters to
isolate and modify the intended devs.

  reply	other threads:[~2017-01-06 19:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-06 18:55 [linux-lvm] duplicate pv change uuid Xen
2017-01-06 19:04 ` David Teigland [this message]
2017-01-06 19:19   ` Xen

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=20170106190432.GA22165@redhat.com \
    --to=teigland@redhat.com \
    --cc=linux-lvm@redhat.com \
    --cc=list@xenhideout.nl \
    /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.