linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Jonathan E Brassow <jbrassow@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Cloning Logical Volumes
Date: Thu, 27 Apr 2006 17:21:26 -0500	[thread overview]
Message-ID: <96158ca02019bf92bbc5dea70d9edef9@redhat.com> (raw)
In-Reply-To: <000601c66984$779e7230$640a0a0a@laptopoptimus>

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

dd is probably the best way right now.

in the future, the clone would probably take the form:
prompt> lvconvert -m1 vg/lv; (wait for sync); lvsplit vg/lv

The syntax isn't worked out yet and lvsplit is not there yet... but we 
have talked about doing something like that.

  brassow


On Apr 26, 2006, at 5:55 PM, Greg Hartzog wrote:

> Hello there folks.  I have a question.
>  
> I am looking for a better way of cloning logical volumes then creating 
> a new logical volume, identical to a source logical volume, and using 
> “dd” to copy data between the two logical volumes.
>  
> I would love to use dm-mirror to do this, but I do not think any 
> interface has been provided to do this yet.
>  
> All suggestions and ideas appreciated.
>  
> I am running lvm2-2.02.04-r1 & 2.6.15 kernel.
>  
> Thanks!
>  
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[-- Attachment #2: Type: text/enriched, Size: 2024 bytes --]

dd is probably the best way right now.


in the future, the clone would probably take the form:

prompt> lvconvert -m1 vg/lv; (wait for sync); lvsplit vg/lv


The syntax isn't worked out yet and lvsplit is not there yet... but we
have talked about doing something like that.


 brassow



On Apr 26, 2006, at 5:55 PM, Greg Hartzog wrote:


<excerpt><fontfamily><param>Arial</param><bigger><bigger>Hello there
folks.  I have a question.</bigger></bigger></fontfamily>

<fontfamily><param>Arial</param><bigger><bigger> </bigger></bigger></fontfamily>

<fontfamily><param>Arial</param><bigger><bigger>I am looking for a
better way of cloning logical volumes then creating a new logical
volume, identical to a source logical volume, and using “dd” to copy
data between the two logical volumes.</bigger></bigger></fontfamily>

<fontfamily><param>Arial</param><bigger><bigger> </bigger></bigger></fontfamily>

<fontfamily><param>Arial</param><bigger><bigger>I would love to use
dm-mirror to do this, but I do not think any interface has been
provided to do this yet.</bigger></bigger></fontfamily>

<fontfamily><param>Arial</param><bigger><bigger> </bigger></bigger></fontfamily>

<fontfamily><param>Arial</param><bigger><bigger>All suggestions and
ideas appreciated.</bigger></bigger></fontfamily>

<fontfamily><param>Arial</param><bigger><bigger> </bigger></bigger></fontfamily>

<fontfamily><param>Arial</param><bigger><bigger>I am running
lvm2-2.02.04-r1 & 2.6.15 kernel.</bigger></bigger></fontfamily>

<fontfamily><param>Arial</param><bigger><bigger> </bigger></bigger></fontfamily>

<fontfamily><param>Arial</param><bigger><bigger>Thanks!</bigger></bigger></fontfamily>

<fontfamily><param>Arial</param><bigger><bigger> </bigger></bigger></fontfamily>

_______________________________________________

linux-lvm mailing list

linux-lvm@redhat.com

https://www.redhat.com/mailman/listinfo/linux-lvm

read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/</excerpt>

  reply	other threads:[~2006-04-27 22:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-26 22:55 [linux-lvm] Cloning Logical Volumes Greg Hartzog
2006-04-27 22:21 ` Jonathan E Brassow [this message]
     [not found] <7.0.1.0.0.20060501165213.07a4ce50@nersc.gov>
2006-05-02  1:26 ` Greg Hartzog

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=96158ca02019bf92bbc5dea70d9edef9@redhat.com \
    --to=jbrassow@redhat.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).