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

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



# 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

_______________________________________________
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®.