Guides

VM Migration from ESXi to Proxmox: Guide to Planned Migration of Your VDS Infrastructure

Techniques, VirtIO settings and practical tips for migrating running VMware ESXi VMs to Proxmox VE without data loss or prolonged service interruptions.

A system administrator moving from VMware ESXi to Proxmox VE faces an immediate concern: how to migrate hundreds of production VDSs quickly while minimizing disruption to customers.

When the correct method is applied, the virtual machine migration can be completed with a controlled reboot time of a few minutes. However, if you skip the preparation steps, you will have to deal with the operating system not starting, IP conflicts or disk data corruption for hours.

In this guide, we examine the safest ways to transfer Linux and Windows virtual servers from ESXi to Proxmox.


1. Critical Checks Before Migration (Checklist)

Before copying disks, complete these three steps on the source machine:

  1. Merge All Snapshots (Delete All Snapshots): If there are pending snapshots on ESXi, data inconsistency may occur due to delta disks when exporting the disk. Before moving, delete all snapshots from the vCenter or ESXi panel and write them to the main disk.
  2. Install VirtIO Drivers for Windows: Windows is configured for VMware's LSI Logic or PVSCSI controller. Point Windows Device Manager to the SCSI (vioscsi) and Network (netkvm) drivers in the Red Hat VirtIO ISO before migration so Windows can recognize Proxmox's VirtIO SCSI controller.
  3. Static IP and Network Card Notes: The hardware ID (MAC address) of the network card will change on the moved machine. Note down the IP, subnet mask and gateway information so that udev rules or netplan settings on Linux do not remain tied to the old interface name (e.g. ens192).

2. Method 1: Proxmox Built-in ESXi Import Wizard (Fastest Way)

The built-in ESXi Import Storage plugin, which was first introduced with Proxmox VE 8.2 and comes with current supported versions, has made the process much simpler.

  1. In the Proxmox web interface, follow the path Datacenter > Storage > Add > ESXi.
  2. Enter the IP address, username (root) and password of your ESXi server.
  3. Your ESXi storage is listed in the left menu. Select it to view the individual ESXi VMs.
  4. Select the virtual machine you want to move and press the Import button at the top.
  5. Start the process by selecting the target storage pool (ZFS / Ceph / LVM-Thin) and the target network bridge (vmbr0).

Proxmox copies the disk in the background, automatically converts the VMDK format to RAW or QCOW2 format and prepares the virtual machine.


3. Method 2: Manual Migration (Command Line and OVF Tool)

If a direct API connection cannot be established between ESXi and Proxmox or the servers are in different data centers, the command line offers an alternative; test transfer integrity and the recovery procedure.

Step 1: Export the Disk from ESXi

Export the machine as OVF/VMDK with VMware OVF Tool:

ovftool vi://root@esxi-ip-adresi/MusteriVM C:\Export\MusteriVM\

Step 2: Transfer the VMDK File to Proxmox

Transfer the file to the Proxmox server with SCP or rsync:

scp MusteriVM-disk1.vmdk root@proxmox-ip:/root/

Step 3: Create an Empty VM in Proxmox and Attach the Disk

Create an empty VM with the same RAM and CPU values in the Proxmox panel (Ex: VM ID 204). Remove the default disk during creation.

Then issue the following command in the SSH shell:

qm importdisk 204 /root/MusteriVM-disk1.vmdk local-zfs --format raw

When the disk is imported, it appears as Unused Disk 0 in the Proxmox panel. Double-click this disk and set:

  • Bus/Device: SCSI
  • Controller: VirtIO SCSI Single
  • IOThread: Checked
  • Discard: Checked (for TRIM support if you are using SSD/NVMe)

Save the settings and place the new disk first in Options > Boot Order.


4. Post-Migration Tasks

After booting the machine:

  • Uninstall VMware Tools: Remove VMware background services that are no longer needed.
  • Install QEMU Guest Agent:
    • Ubuntu / Debian: apt update && apt install qemu-guest-agent -y
    • CentOS / AlmaLinux: dnf install qemu-guest-agent -y
    • Windows: Run the guest-agent/qemu-ga-x86_64.msi file in the VirtIO ISO.
  • Enable Options > QEMU Guest Agent from Proxmox VM settings and restart the machine once.

Conclusion

The time needed to migrate a virtual machine from ESXi to Proxmox depends on disk capacity, used space, network speed and storage performance. Measure a pilot migration to determine the planned downtime. Give customers a scheduled maintenance window before moving your fleet to the open-source platform.