From: "Mike Snitzer" <snitzer@gmail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Hardware snapshots and LVM2?
Date: Thu, 23 Mar 2006 11:38:45 -0500 [thread overview]
Message-ID: <170fa0d20603230838y173d14f5ib2692c87ab6b20ea@mail.gmail.com> (raw)
In-Reply-To: <H000007200c27f69.1142968273.fsu50.nll.se@MHS>
On 3/21/06, fredrik.backman@nll.se <fredrik.backman@nll.se> wrote:
> Hi
>
> Im doing a snapshot (hardware-based in EVA5000) of a LV
> (lvm2) and i
> wonder what is the correct way to use this snapshot?
> Problem is that
> this snapshot has the same ID as the original one. In HP-UX
> a would do a
> vgchgid on this snapshot-LV. Any help would be aprreciated.
You're creating snapshots of the entire block device. As such the
snapshot device has identical LVM2 metadata as the origin device. You
need to generate new PV, VG, LV UUIDs, modify the metadata and then
restore that modified metadata to the snapshot device (via
vgcfgbackup, vgcfgrestore). EVMS has a decent random lvm2 UUID
generator function that can be pulled out and made to run standalone.
Mike
prev parent reply other threads:[~2006-03-23 16:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-21 19:11 [linux-lvm] Hardware snapshots and LVM2? fredrik.backman
2006-03-21 20:53 ` Greg Freemyer
2006-03-21 22:12 ` Nathan Scott
2006-03-23 16:38 ` Mike Snitzer [this message]
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=170fa0d20603230838y173d14f5ib2692c87ab6b20ea@mail.gmail.com \
--to=snitzer@gmail.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 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).