Hi,
i found several threads in this forum how to migrate a xen maschine into proxmox. BUT i have not a XENServer installed, i have a normal XEN installed on Ubuntu 14.04 LTS.
This XEN LVM is already backed up as IMG file in RAW format. What i did: I create a LVM Snapshot of the needed mashine. Then i dd'ed it into an vm.img file. With qemu-img status i can see that it is in raw format.
So, what are next steps to bring this on proxmox? What is the best solution, LVM, qcow2?
Can someone pls describe exactly what to do to bring this XEN vm.img to proxmox?
I will now try it out with raw image. but i stuck at this point:
4. Need to create Partitioning like Xen VM. So as we have only one Partition in Xen VM. We will just create one Partition inside the kvmvm image.
parted /mnt/backup-snapshot/snapshot/monitoring-disk-kvm.raw(parted)$ mklabel msdos
(parted)$ mkpart primary xfs 0 56320M
(parted)$ set 1 boot on
(parted)$ quit
- i have created a new file: dd if=/dev/zero of=/mnt/backup-snapshot/snapshot/monitoring-disk-kvm.raw bs=1M count=56320
- i have done all steps in 4
- when i now have a look with cfdisk at this new disk i see the partition table (name, boot-flag, part-type pri, system linux, size 56320)
- WHEN I LOOK WITH CFDISK AT THE OLD IMG FILE THERE IS NO PARTITION!!! (no name, no boot-flag, no part-type, free space, size 56320)
IS THIS OK LIKE THIS???
regards,
bill
i found several threads in this forum how to migrate a xen maschine into proxmox. BUT i have not a XENServer installed, i have a normal XEN installed on Ubuntu 14.04 LTS.
This XEN LVM is already backed up as IMG file in RAW format. What i did: I create a LVM Snapshot of the needed mashine. Then i dd'ed it into an vm.img file. With qemu-img status i can see that it is in raw format.
So, what are next steps to bring this on proxmox? What is the best solution, LVM, qcow2?
Can someone pls describe exactly what to do to bring this XEN vm.img to proxmox?
I will now try it out with raw image. but i stuck at this point:
4. Need to create Partitioning like Xen VM. So as we have only one Partition in Xen VM. We will just create one Partition inside the kvmvm image.
parted /mnt/backup-snapshot/snapshot/monitoring-disk-kvm.raw(parted)$ mklabel msdos
(parted)$ mkpart primary xfs 0 56320M
(parted)$ set 1 boot on
(parted)$ quit
- i have created a new file: dd if=/dev/zero of=/mnt/backup-snapshot/snapshot/monitoring-disk-kvm.raw bs=1M count=56320
- i have done all steps in 4
- when i now have a look with cfdisk at this new disk i see the partition table (name, boot-flag, part-type pri, system linux, size 56320)
- WHEN I LOOK WITH CFDISK AT THE OLD IMG FILE THERE IS NO PARTITION!!! (no name, no boot-flag, no part-type, free space, size 56320)
IS THIS OK LIKE THIS???
regards,
bill
Last edited: