linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Ray Morris <support@bettercgi.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] efficiently copying snapshot data.
Date: Fri, 09 Jul 2010 19:38:01 -0500	[thread overview]
Message-ID: <1278722281.8612.37@raydesk1.bettercgi.com> (raw)
In-Reply-To: <AANLkTikfqJRdgmf2ib9pz23p2IAz-fogXaSzfCv0tgEB@mail.gmail.com> (from closms@gmail.com on Fri Jul  9 18:47:12 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@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@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

  reply	other threads:[~2010-07-10  0:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-09 23:47 [linux-lvm] efficiently copying snapshot data Michael Closson
2010-07-10  0:38 ` Ray Morris [this message]
2010-07-10  1:01   ` Stuart D. Gathman
2010-07-10  1:14     ` Ray Morris
2010-07-10 15:50     ` Alasdair G Kergon
2010-07-12 21:25       ` Michael Closson

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=1278722281.8612.37@raydesk1.bettercgi.com \
    --to=support@bettercgi.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).