Xen Migration

2 posts / 0 new
Last post
#1 Wed, 08/26/2009 - 11:38
fatbox

Xen Migration

Hi,

I've been playing with Xen migrations in Cloudmin and I'm curious as to why the design choice was made to copy the image to the cloudmin system before moving it to the new host? Both are managed by cloudmin and cloudmin knows how to login to both machines with SSH so why shouldn't the 'dd' command just get piped through SSH directly between hosts?

dd if=<localdevice> of=- bs=1204 | ssh root@<remote> 'dd if=- of=<remotedevice> bs=1024'

Wed, 08/26/2009 - 13:00
fatbox

After reading through the code it appears that this only happens when using raw devices (ie. LVM). I have created an issue and uploaded a patch that allows dd to operate directly between hosts.

Topic locked