- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Migrating from KVM to VMware
As the title says, we want to migrate our VMs from KVM to VMware. The steps we follow:
- convert the VM image (qemu-img convert -f raw -O vmdk vm1.qcow2 vm1.vmdk)
- scp the converted image to the ESX datastore (scp vm1.vmdk esx1:/vmfs/volumes/datastore1/)
- clone the disk using vmkfstools (vmkfstools -i vm1.vmdk vm1-cloned.vmdk -d thin)
- create a new VM using the existing, cloned disk
So far, this has worked only with our Windows VMs. The Linux VMs cannot boot (Operating System not found) because the VM cannot find the disk. I have tried pretty much every configuration combination I could think of (BIOS/EFI, LSI Logic SAS/VMware Paravirtual) with no success. The Linux VMs are CentOS 8 systems with open-vm-tools already installed. The hypervisor is VMware ESXi, 7.0.0, 16324942.
Any help is greatly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
double check all the steps in this post:
https://possiblelossofprecision.net/?p=2293
https://blog.ktz.me/migrate-qcow2-images-from-kvm-to-vmware/
ARomeo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Just wondering, where you able to conver linux KVM to vmware?
Rgds
Luis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
I suggest something more practical and safe.
1. Perform a full Backup (Image) of each VM with Veeam Backup (Requires a PC or VM with disk space, where the Veeam Backup Server is installed).
2. Configure the ESXi host as a virtual structure in Veeam Backup and perform an install recovery of each VM.
Attached is a link to the Veeam Backup Community (Free) and an example of how to backup physical servers and restore them to ESXi with Veeam Backup.
https://www.veeam.com/virtual-machine-backup-solution-free.html
https://community.veeam.com/vug-hong-kong-and-macau-81/physical-to-virtual-migration-with-veeam-2166
Working with Veeam Backup is quite easy and intuitive. On the web there are many videos and tutorials about veeam backup.
Senior Technical Support on IBM, Lenovo, Veeam Backup and VMware vSphere.
VSP-SV, VTSP-SV, VTSP-HCI, VTSP
Please mark my comment as Correct Answer or assign Kudos if my answer was helpful to you, Thank you.
Пожалуйста, отметьте мой комментарий как Правильный ответ или поставьте Кудо, если мой ответ был вам полезен, Спасибо.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just saw this, thought I might share some info.
It seems KVM uses different storage drivers than VMWare, so you might need to rebuild the initramfs file in the /boot directory. You will need an RHEL/OEL/Centos install disc (ISO) and use the rescue mode to drop to a shell, backup the current file and recreate it. The dracut command will detect the new environment and add the necessary drivers to the file.
I dont remember the steps from the top of my head, but I hope this points you in the right direction.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you ever get ahead with this issue?