From: Michael Jensen <beachhangar@yahoo.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Editing LVM 2 metadata
Date: Fri, 14 Nov 2008 18:37:51 -0800 (PST) [thread overview]
Message-ID: <878853.96084.qm@web38301.mail.mud.yahoo.com> (raw)
[-- 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 --]
next reply other threads:[~2008-11-15 2:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-15 2:37 Michael Jensen [this message]
2008-11-15 2:55 ` [linux-lvm] Editing LVM 2 metadata 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
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=878853.96084.qm@web38301.mail.mud.yahoo.com \
--to=beachhangar@yahoo.com \
--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 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.