From: Tomasz Chmielewski <mangoo@wpkg.org>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] How to "clone" a logical volume
Date: Fri, 07 Mar 2008 16:44:08 +0100 [thread overview]
Message-ID: <47D162C8.4040104@wpkg.org> (raw)
In-Reply-To: <dd20e5b50803070734o3eac4e18o156fe4e1552040c@mail.gmail.com>
Lionel Kernux schrieb:
> Hi,
>
> Here's what I'm trying to do:
>
> I have an LV that is being used as a physical disk for a XEN virtual machine.
> I want to "clone" the VM.
> lvcreate -L 75G -n virtualmachine_clone_lv VG00
> dd if=/path/to/virtualmachine_lv of=/path/to/virtualmachine_clone_lvT
>
> This method would be perfect if it wasn't for the fact that now I have
> 2 LV's with the same uuid....not good...
What UUID are you talking about here? Filesystem UUID, or LVM UUID?
If about LVM UUID, it will not be the same if you dd a LV - UUID is
stored somewhere else.
Filesystem UUID (if any) will remain the same, of course, as it's the
exact copy.
--
Tomasz Chmielewski
http://wpkg.org
next prev parent reply other threads:[~2008-03-07 15:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-07 15:34 [linux-lvm] How to "clone" a logical volume Lionel Kernux
2008-03-07 15:44 ` Tomasz Chmielewski [this message]
2008-03-07 16:06 ` Lionel Kernux
2008-03-07 16:37 ` Tomasz Chmielewski
2008-03-07 18:19 ` Lionel Kernux
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=47D162C8.4040104@wpkg.org \
--to=mangoo@wpkg.org \
--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).