Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 718 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 718 Bytes

xenserver_to_xen

THIS PROJECT IS FORKED FROM Derek Yang ORIGINAL SCRIPT, UPDATED TO PYTHON 3

This project is for migrating from xenserver *.xva image to xen *.img image.

Quickstart

  1. Untar your xenserver image {{image}} with the command: tar -xvf {image}.xva. There are Ref:XX folder and ova.xml, where Ref:XX which contains 1MB size chunks of the image disk and ova.xml represents image spec.

  2. Then grab this handy utility and run it on your untared data, as an example:

python xenmigrate.py –-convert=Ref:XX {image}.img

  1. If you'd like to convert {image}.img to {image}.qcow2, you can run the command:

qemu-img convert -f raw -O qcow2 {image}.img {image}.qcow2