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

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



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