[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Wg-test-framework] Minutes: AllNet Sync Meeting Jan 28th [and 1 more messages]



On Wed, 28 Jan 2015 16:44:35 +0000
Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> wrote:

> Lars Kurth writes ("[Wg-test-framework] Minutes: AllNet Sync Meeting Jan 
> 28th"):

> > Don: Wants to copy logical volumes takes foprever. QCow takes care
> > of the holes and takes faster. Images set up on LVM
> ...
> > Ian: I would normally use LVM snapshot, mount snapshot in Dom0 and use rsync
> ...
> > ACTION: Ian to send Don info with suggested approach
> 
> So, something like
> 
>   # assumes vm is running on newcastle and we are to overwrite gateshead
>   gateshead# mount /dev/vg1/www /mnt
> 
>   newcastle# lvcreate -n www-snap -s /dev/vg1/www
>   newcastle# mount -r /dev/vg1/www-snap /mnt
>   newcastle# rsync -aH --numeric-ids --delete /mnt/. root@gateshead:/mnt/.

Which would work fine if it weren't for the fact that these are disk
images, not file systems. Or is there some magic I'm missing?

One thought is to make a virtual snapshot/snapshot-receive pair of VMs;
one to use the www-snap disk (ro) and the other use the target www disk
(rw) and do the rsync the sub-mounted file systems between the two.

In the meantime, contemplating other approaches...

-d

_______________________________________________
Wg-test-framework mailing list
Wg-test-framework@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/wg-test-framework


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.