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

Re: [Xen-users] Can I migrate file backed VMs to another server and use LVM storage?



Bruce Edge wrote:

Can I migrate an HVM linux VM from a xen 3.3 server that uses file backed VMs to a 4.01 server and use LVM storage?

Assuming you don't want live migration then yes, you can migrate between servers. I assume going between versions should be OK, not something I'm familiar with, but transferring the storage is OK.

All you need to do is copy the contents of the file into the contents of the LVM volume. You may be able to do this by using a tool like dd to wrote the contents of the file into the LVM volume in which case you get a byte for byte copy of the silesystem - warts and all. Or you can mount the filesystem, and copy the files into a freshly formatted filesystem on the LVM volume.

You may need to tweek a few settings in the guest afterwards, you often do with PV guests - eg if you've changed disk device names.
--
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

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