linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Altering a Physical Volume's UUID
@ 2006-09-08 12:55 Mark Krenz
  2006-09-08 15:35 ` Luca Berra
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Krenz @ 2006-09-08 12:55 UTC (permalink / raw)
  To: linux-lvm


  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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-09-08 17:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-08 12:55 [linux-lvm] Altering a Physical Volume's UUID Mark Krenz
2006-09-08 15:35 ` Luca Berra
2006-09-08 17:11   ` [linux-lvm] Altering a Physical Volume's UUID [solved] Mark Krenz

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).