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

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.

--- Heiko.

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

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