[linux-lvm] efficiently copying snapshot data.

Ray Morris support at bettercgi.com
Sat Jul 10 00:38:01 UTC 2010


> How can I efficiently copy only the snapshot?

rsync.  Mount the snapshot, mount the copy of the source LV
on the other machine, and rsync from the snapshot to the copy.
You'll probably need to use "kpartx" to make the partitions
with the LVs visible.
--
Ray Morris
support at bettercgi.com

Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/

Throttlebox - Intelligent Bandwidth Control
http://www.bettercgi.com/throttlebox/

Strongbox / Throttlebox affiliate program:
http://www.bettercgi.com/affiliates/user/register.php


On 07/09/2010 06:47:12 PM, Michael Closson wrote:
> Say I am using lvm to store VM disks.  I have a logical volume with  
> the
> master image and the vms are snapshots created from the master LV.
> 
> I want to save this VM, copy the memory and snapshot data to a  
> different
> machine with the same master LV, and then restore the VM.
> 
> Is it possible?  How can I efficiently copy only the snapshot?
> 
> Thanks,
> Mike C
> 

------quoted attachment------
> _______________________________________________
> 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/





More information about the linux-lvm mailing list