All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Editing LVM 2 metadata
@ 2008-11-15  2:37 Michael Jensen
  2008-11-15  2:55 ` Alasdair G Kergon
  2008-11-15  2:56 ` [linux-lvm] Editing LVM 2 metadata Alasdair G Kergon
  0 siblings, 2 replies; 7+ messages in thread
From: Michael Jensen @ 2008-11-15  2:37 UTC (permalink / raw)
  To: linux-lvm

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

I have a need to edit the metadata on an LVM2 PV.  It is a storage managed snapshot of a LVM VG.

It appears I can alter the metadata contents that are in the first 128KB of the device (/dev/sda) using dd and vi.

However, after I edited the LABELONE area where the binary copy of the PV UUID is stored (200x offset area) and the ASCII version at 12b0x and 16b0x and reboot - vgscan no longer recognizes the VG.

Question - are all the UUID's - VG, LV, PV generated as a self-check hash to ensure they haven't been bit-picked or otherwise compromised by the storage??

I have downloaded the source, but am not sure yet where to find the code that generates the UUID strings.

Thanks,
Mike


      

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

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

end of thread, other threads:[~2008-11-17 22:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-15  2:37 [linux-lvm] Editing LVM 2 metadata Michael Jensen
2008-11-15  2:55 ` Alasdair G Kergon
2008-11-15  3:30   ` Michael Jensen
2008-11-15 12:44     ` David Robinson
2008-11-17 13:29       ` himanshu padmanabhi
2008-11-17 22:58   ` [linux-lvm] steps to clone a volume group Michael Jensen
2008-11-15  2:56 ` [linux-lvm] Editing LVM 2 metadata Alasdair G Kergon

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.