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

Re: [Xen-users] Migrating VBDs

I would suggest using the sparse copy operation, first you zip your image into
say img.bz2, ship it over, and then use -
cp -p --sparse=always <(cat img.bz2 | bunzip2 -c -) img

On Tue, Apr 11, 2006 at 02:22:12PM +0100, In-Tuition Xen wrote:
> Hi all,
> 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?
> I'm thinking of using LVM VBDs instead so what would be the best way in
> this scenario?
> The reason I'm currently using the file-backed VBD's is for the ease of
> handling and the fact that the XenU's perform little IO.
> If it makes any difference I don't have local access, these are remote
> servers but I do have console and PXE boot ability.
> Thanks,
> Matt.
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

Himanshu Raj
PhD Student, GaTech (www.cc.gatech.edu/~rhim)
I prefer to receive attachments in an open, non-proprietary format.

Xen-users mailing list



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