These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Xen Migration on the new forum.
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'
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.