linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] How to reset the vg uuid before doing a vgimport?
@ 2006-02-21  5:17 Gaurab Paul
  2006-03-06 17:35 ` Alasdair G Kergon
  0 siblings, 1 reply; 2+ messages in thread
From: Gaurab Paul @ 2006-02-21  5:17 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 344 bytes --]

Is there a way that before we do vgimport, on the exported volume we
can reset the vg uuid? If so what is the process?

HP-UX lvm provied vgchgid. Any equivalent in lvm2?

In summary, i want to know how to do step 2 below in linux lvm:

1.vgexport vgname
2. Reset the vg uuid
3. vgimport vgname


--
Thanks and Regards,

Gaurab

[-- Attachment #2: Type: text/html, Size: 389 bytes --]

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

* Re: [linux-lvm] How to reset the vg uuid before doing a vgimport?
  2006-02-21  5:17 [linux-lvm] How to reset the vg uuid before doing a vgimport? Gaurab Paul
@ 2006-03-06 17:35 ` Alasdair G Kergon
  0 siblings, 0 replies; 2+ messages in thread
From: Alasdair G Kergon @ 2006-03-06 17:35 UTC (permalink / raw)
  To: LVM general discussion and development

On Tue, Feb 21, 2006 at 10:47:45AM +0530, Gaurab Paul wrote:
> Is there a way that before we do vgimport, on the exported volume we
> can reset the vg uuid? If so what is the process?
 
No need to export, but no LVs in the VG can be active.

vgchange --uuid.

Alasdair
-- 
agk@redhat.com

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

end of thread, other threads:[~2006-03-06 17:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-21  5:17 [linux-lvm] How to reset the vg uuid before doing a vgimport? Gaurab Paul
2006-03-06 17:35 ` Alasdair G Kergon

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