WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] Migrating VBDs

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Migrating VBDs
From: "In-Tuition Xen" <listxenusers@xxxxxxxxxxxxxx>
Date: Tue, 11 Apr 2006 15:25:15 +0100
Delivery-date: Tue, 11 Apr 2006 07:27:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcZdbmYlTd+EM5t2TvuTq8H9oQilhQABPVZA
Thread-topic: [Xen-users] Migrating VBDs
Heiko Wundram scribbled on 11 April 2006 14:47:
> Am Dienstag 11 April 2006 15:22 schrieb In-Tuition Xen:
>> I'm currently using Xen 3 with file-backed VBDs and have just setup a
>> new Xen0 server.  What's the best way of copying the image files
>> across to the new server (currently stored locally on the old Xen0)?
>> I want a copy because I'm duplicating the XenU's.  I've tried scp
>> but the image files take up their full disk allocation rather than
>> their actual usage (eg 5GB instead of the 1.1GB actually used). 
>> Would rsync using rsyncd be better, or NFS?
> 
> Personally, I would tar the image, copy the tar file and untar it on
> the destination machine. tar has proper handling of sparse files (see
> the commandline options for the options you need to specify for
> sparse file handling), and should unpack the domU file to the proper
> size you're seeing on your old dom0.

Great, thanks for the tip.

And what's the best way for handling LVM VBD migration?

Matt.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>