linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Mark Krenz <mark@suso.org>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Altering a Physical Volume's UUID
Date: Fri, 8 Sep 2006 12:55:06 +0000	[thread overview]
Message-ID: <20060908125506.GA30379@arvo.suso.org> (raw)


  Hi,  I'm using LVM with Xen virtual machines by creating sparse image
files with something like 

  dd if=/dev/zero of=diskimage bs=1 count=1 seek=1073741824

 Then I use a loopback device to use the diskimage as a block device and
create a physical volume, volume group and logical volumes on it.

  This all works great, but when I copy the diskimage file to another
file and try to setup a loopback device for it, I get complaints about
there being multiple identifical UUIDs for physical volumes and volume
groups.


  So is there a way to change the UUID of a physical volume and volume
group?


  If you are wondering why I would need to copy the diskimage file, its
because I'm setting up Xen template images for different OSes that I can
then simply copy into place, make a few modifications and then be on my
way.

-- 
Mark S. Krenz
IT Director
Suso Technology Services, Inc.
http://suso.org/

             reply	other threads:[~2006-09-08 12:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-08 12:55 Mark Krenz [this message]
2006-09-08 15:35 ` [linux-lvm] Altering a Physical Volume's UUID Luca Berra
2006-09-08 17:11   ` [linux-lvm] Altering a Physical Volume's UUID [solved] Mark Krenz

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=20060908125506.GA30379@arvo.suso.org \
    --to=mark@suso.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).