Trouble Migrating from ESXi to Hyper-v with multiple disk

VM image converter (VMDK, VHD, VHDX, IMG, RAW, QCOW and QCOW2), P2V migrator

Moderators: anton (staff), art (staff), Anatoly (staff), Max (staff)

Post Reply
kartman
Posts: 3
Joined: Mon Jun 17, 2024 5:08 pm

Mon Jun 17, 2024 5:26 pm

I have migrated serveral VMs from ESXi to Hyper-V that have a single disk with no issue. Ones that have multiple disks are failing. The VM starts, but only the C;\ is available. The message at the end of the migration seems to indicate that it succeeded, however when I open the new Hyper-V VM, the additional disks are not the there.

The log file shows this error:
ErrorCode = 32773;
ErrorDescription = "'TRMSRV' failed to add resources. (Virtual machine ID 888B2292-A801-4039-A3E4-CA8D9F48FB6A)\n\nCannot add 'E:\\VMs\\TRMSRV\\Virtual Hard Disks\\TRMSRV_.vhdx'. The disk is already connected to the virtual machine 'TRMSRV'. (Virtual machine ID 888B2292-A801-4039-A3E4-CA8D9F48FB6A)";
ErrorSummaryDescription = "'TRMSRV' failed to add resources to 'TRMSRV'.\n\nCannot add 'E:\\VMs\\TRMSRV\\Virtual Hard Disks\\TRMSRV_.vhdx'. The disk is already connected to the virtual machine 'TRMSRV'. (Virtual machine ID 888B2292-A801-4039-A3E4-CA8D9F48FB6A)";
HealthState = 5;
Attachments
V2V_Log-20240615-205319.zip
(2.56 KiB) Downloaded 614 times
yaroslav (staff)
Staff
Posts: 3571
Joined: Mon Nov 18, 2019 11:11 am

Tue Jun 18, 2024 10:02 am

Try converting the disks alone and recreate the VM. It looks like something is going sideways with the config file.
See also this thread viewtopic.php?f=15&t=6763&p=36723&hilit=google#p36723 and https://drive.google.com/file/d/1hDP4gl ... Ea_5p/view
kartman
Posts: 3
Joined: Mon Jun 17, 2024 5:08 pm

Tue Jun 18, 2024 4:18 pm

Thanks @yaroslav, but I think I sorted it another way.
The additional disks did get converted, but they weren't attached to the VM.

I went to Settings for the VM, selected the next drive, and pointed to the virtual disk file. Once the VM came up, I went to Disk Manager on the VM and brought the disks online. A bit of a manual process, but it worked.
Attachments
CaptureDisk.JPG
CaptureDisk.JPG (74.19 KiB) Viewed 8949 times
yaroslav (staff)
Staff
Posts: 3571
Joined: Mon Nov 18, 2019 11:11 am

Tue Jun 18, 2024 5:20 pm

Thanks for sharing your workaround. It looks like something went sideways with the VM config file. I am glad to read that you managed to sort it out.
kartman
Posts: 3
Joined: Mon Jun 17, 2024 5:08 pm

Tue Jun 18, 2024 8:36 pm

Where is the "VM config file"?
I have done this conversion with several VM's, and had the same experience of missing the additional disks.
yaroslav (staff)
Staff
Posts: 3571
Joined: Mon Nov 18, 2019 11:11 am

Tue Jun 18, 2024 8:49 pm

This is the VM configuration file. I doubt you can easily edit one for Hyper-V. You still can check the VMX file for an individual VM while the VM runs in ESXi.
yaroslav (staff)
Staff
Posts: 3571
Joined: Mon Nov 18, 2019 11:11 am

Sat Jun 22, 2024 1:31 pm

Hi,

Thanks for your request, the issue should be ficed in the future build.
Post Reply