linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Changing the UUID of a VG and a LV
@ 2006-11-16  8:57 Steverding, Kai
  2006-11-16 16:16 ` Mike Snitzer
  0 siblings, 1 reply; 2+ messages in thread
From: Steverding, Kai @ 2006-11-16  8:57 UTC (permalink / raw)
  To: 'linux-lvm@redhat.com'

Hi !
I have the following problem : 

For backup purposes, i take SAN-Snapshot Copies of my Linux machine. I
deploy my new machines from those copies, too. This has the effect, that a
clone of a machine has the exact same disk the original has including PV
UUID, VG name, VG UUID, LV name and lv uuid. I found out that i can change
the PV UUID with pvchange -u and the VG name with vgrename , but is there a
way to change the UUID's of the VG and the LV's ? I need it, because i mount
all those snapshots on a backup-server and this doesn't work because of the
same UUIDs.

Thanks

Kai

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

* Re: [linux-lvm] Changing the UUID of a VG and a LV
  2006-11-16  8:57 [linux-lvm] Changing the UUID of a VG and a LV Steverding, Kai
@ 2006-11-16 16:16 ` Mike Snitzer
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Snitzer @ 2006-11-16 16:16 UTC (permalink / raw)
  To: LVM general discussion and development

On 11/16/06, Steverding, Kai <Kai.Steverding@gws.ms> wrote:
> Hi !
> I have the following problem :
>
> For backup purposes, i take SAN-Snapshot Copies of my Linux machine. I
> deploy my new machines from those copies, too. This has the effect, that a
> clone of a machine has the exact same disk the original has including PV
> UUID, VG name, VG UUID, LV name and lv uuid. I found out that i can change
> the PV UUID with pvchange -u and the VG name with vgrename , but is there a
> way to change the UUID's of the VG and the LV's ? I need it, because i mount
> all those snapshots on a backup-server and this doesn't work because of the
> same UUIDs.

Look for "Hardware snapshots and LVM2?" and "Altering a Physical
Volume's UUID" in the list archives.

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

end of thread, other threads:[~2006-11-16 16:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-16  8:57 [linux-lvm] Changing the UUID of a VG and a LV Steverding, Kai
2006-11-16 16:16 ` Mike Snitzer

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