having trouble from ovirt to Proxmox V2V

chchang

Well-Known Member
Feb 6, 2018
33
4
48
46
Hi all
I want to migrate VMs from ovirt node to proxmox.
the ovirt disk meta info like this

Code:
DOMAIN=1ca1fc94-94be-4c64-83b8-9912d5288941
CTIME=1513821604
FORMAT=RAW
DISKTYPE=2
LEGALITY=LEGAL
SIZE=419430400
VOLTYPE=LEAF
DESCRIPTION={"DiskAlias":"wordpress_205_Disk1","DiskDescription":""}
IMAGE=369379db-d080-4ec1-b8d5-fffa1a1745c8
PUUID=00000000-0000-0000-0000-000000000000
MTIME=0
POOL_UUID=
TYPE=SPARSE
GEN=0
EOF

seems like it`s a raw disk ?
however , I use qemu-img convert -O raw to vm_disk.raw and transfer to raw to proxmox
create a raw disk , replace the raw disk with that vm_disk.raw
but boot failed .
after some annoying messages like this (sorry , I can`t insert image... )

Volume group "ubuntu-vg" not found
cannot process volume group ubuntu-vg

brgin: Running /scripts/local-block ... mdadm: CREATE group disk not found
mdadm: no arrays found in config file or automatically
lvmetad is not active yet, using direct activation during sysinit
volume gorup "ubuntu-vg" not found
cannot process volume group ubuntu-vg
done


and repeat many times ...


now I get into a initramfs

Gave up waiting for root device. Common problems:

= Boot args (cat /proc/cmdline)
-check rootdelay= (did the system wait long enough?
-check root= (did the system wait for the right device?)
- Missing module (cat /proc/modules;ls /dev)
ALERT! /dev/mapper/ubuntu--vg-root does not exist , Dropping to a shell

Busybox built-in shell

(initramfs)


I dont know what`s wrong here , any suggestions?
 
Are you running qemu-img convert from the ovirt node or on the proxmox node? I would copy the original ovirt raw file unto proxmox host, and then run the proxmox qemu-img convert on the host locally.

If that doesn't work, boot the original ovirt VM with the ISO of Clonezilla, make it device source (master), create a new VM on ProxMox with slightly larger drive size, boot with Clonezilla and make it target (slave) and do CloneZilla V2V clone over ethernet.

https://pve.proxmox.com/wiki/Migrat...roxmox_VE_.28KVM.29_using_Clonezilla_Live_CDs
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!