[linux-lvm] Cloning Logical Volumes

Jonathan E Brassow jbrassow at redhat.com
Thu Apr 27 22:21:26 UTC 2006


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 at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1965 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20060427/5dadec85/attachment.bin>


More information about the linux-lvm mailing list