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

Re: [Xen-users] migrate virtual machine to another server



I was trying to make it simple but yes that is a much better option. :)

Joseph.

On 14 May 2011 01:59, John Madden <jmadden@xxxxxxxxxxx> wrote:
>> # copy the LV to an image file
>> dd if=/dev/mapper/<vgname>-<lvname>  of=/tmp/<vmname>.img bs=1M
>>
>> #transfer the image file
>> scp<user>@server2:/tmp/<vmname>.img
>
> Tsk, tsk.  Do it in one step:
>
> dd if=/dev/mapper/srcdisk bs=1M | ssh root@targetserver "dd
> of=/dev/lvm/tgtdisk bs=1M"
>
> =)
>
>
>
>
>
> --
> John Madden
> Sr UNIX Systems Engineer / Office of Technology
> Ivy Tech Community College of Indiana
> jmadden@xxxxxxxxxxx
>



-- 
Kind regards,
Joseph.
Founder | Director
Orion Virtualisation Solutions | www.orionvm.com.au | Phone: 1300 56
99 52 | Mobile: 0428 754 846

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


 


Rackspace

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