Import VM from Xen with multiple files
-
Hi,
I have some vm in xen system with centos 6 on OLD server dell.
It's time to replace the old servers and I'm considering switching to xcp-ng.
My VMs have a lot of raw data files. How can I also import the other data files of my VMs?
Thanks for your help
Luca -
Hi,
What do you mean by "raw data files"? You means
.raw
files used as "virtual disk" for your VM? -
@olivierlambert
what you say is correct.
The files was created with dd command and mounted in vm machine for extra space -
Linux VMs?
-
@olivierlambert
Yes, Centos 6
this a example for my VM config
disk=[ 'tap:aio:/dati/xen/asterisk/asterisk.raw,xvda,w', 'tap:aio:/dati/xen/asterisk/asteriskDati.raw,xvdb,w', ] -
First, I would convert your PV to a HVM guest. Then, IIRC, XO accepts to import raw disk files
-
@olivierlambert
Thank's Olivier,
So if I understand correctly I can't use it xva.py to convert and install directly.
Ok, I test today this way.
Luca -
I'm not sure the XVA.py will work with raw files. But Xen Orchestra accepts to import raw drives. So you can create the VM and then import the drives later on (if it doesn't work with the Python script)