the disc image file is corrupted - vSphere 6 to Hyper-V

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

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

Post Reply
nrothwell
Posts: 3
Joined: Thu Dec 07, 2023 6:46 pm

Thu Dec 07, 2023 7:02 pm

Migrating from vSphere 6 to Hyper-V cluster
tested the StarWind V2V Converter / P2V Migrator over VPN to a remote site with Hyper V cluster

using the remote function on the app I successfully converted a vSphere VM to Hyper V, however, I keep getting the disc image file is corrupted.
corrupted disk image - server 2012.png
corrupted disk image - server 2012.png (175.1 KiB) Viewed 3297 times
corrupted disk image - server 2012-2.png
corrupted disk image - server 2012-2.png (85.48 KiB) Viewed 3297 times
StarWind V2V Converter / P2V Migrator is installed on a Server 2022 Datacenter

is the app support on the server 2022 or am i missing something here

we need to move 200 vSphere VMs to Hyper V - do you have another product

thanks for the help
yaroslav (staff)
Staff
Posts: 2316
Joined: Mon Nov 18, 2019 11:11 am

Thu Dec 07, 2023 10:00 pm

Welcome to StarWind Forum!
Is the disk actually doing well and does the VM start?
Can you please try converting an individual disk? Also, can you please convert it to a local file (i.e., VMDK to VHDX but as a local file)?
To automate conversion, you can try using CLI. I will file the feature request fro bulk VM conversion.
Thanks!
nrothwell
Posts: 3
Joined: Thu Dec 07, 2023 6:46 pm

Thu Dec 07, 2023 11:02 pm

thanks for the reply
the app is installed on server 2022 Data Centre, I tried the individual disk to, the local file, and I noticed about halfway through that it went from say 45% to 100% and said completed
seems as it skipped 60% of the Disk and did not complete at all

Facility ???ERROR: getErrorFromSOAP: soap_sprint_fault - SOAP 1.1 fault "":ServerFaultCode [no subcode]
"The session is not authenticated."

logs from last test

The log file name: 'logs\V2V_Log-20231207-230350.log' (PID 12448)
12/7 23:03:50.281 3360 Facility ???INFO: CV2V_ConverterApp::InitInstance: SetDllDirectory: C:\Program Files\StarWind Software\StarWind V2V Converter\lib
12/7 23:03:50.281 3360 Facility ???INFO: CV2V_ConverterApp::InitInstance: File Version: 9.0.1.369
12/7 23:03:50.284 3360 Facility ???INFO: CV2V_ConverterApp::InitInstance: Load language IDR_XML_ENGLISH
12/7 23:03:50.284 3360 Facility ???INFO: CV2V_ConverterApp::InitInstance: Set current language English
12/7 23:03:50.286 3360 Facility ???INFO: CPS_V2V_Converter::CPS_V2V_Converter: Version MajorVersion 10, MinorVersion 0, BuildNumber 20348
12/7 23:03:50.295 3360 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - f9a40000
12/7 23:03:50.295 3360 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - f9a40000
12/7 23:03:57.778 3360 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eHYPERVConnection
12/7 23:04:00.674 3360 Facility ???INFO: ICPPage::OnWizardBack: SetActivePage - eLocation
12/7 23:04:04.579 3360 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eESXConnection
12/7 23:04:21.399 3360 Facility ???INFO: WrapperESXI::connect: m_url - https://10.10.6.200/sdk
12/7 23:04:21.571 3360 Facility ???INFO: WrapperESXI::connect: fullName - Administrator vsphere.local, key - 524f8e20-088f-df35-24e0-3ea3b1c2dcbd
12/7 23:04:21.571 3360 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eInputVM
12/7 23:04:23.034 3360 Facility ???INFO: VMConverter::ESXIConverter::GetHostListInfo: ESX version: 6.0.0
12/7 23:04:23.034 3360 Facility ???INFO: VMConverter::ESXIConverter::GetHostListInfo: ESX version: 6.0.0
12/7 23:04:45.605 3360 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eLocationTo
12/7 23:04:53.922 3360 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eVMSettingsAzure
12/7 23:04:56.473 3360 Facility ???INFO: WrapperHyperV::connect: Host - \\localhost\root\virtualization\v2
12/7 23:04:56.546 3360 Facility ???INFO: WrapperHyperV::init_version: HyperV version: 10.0.20348
12/7 23:04:56.546 3360 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eHDDSelect
12/7 23:06:04.666 3360 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eHYPERVConnectionTo
12/7 23:06:04.674 2b84 Facility ???INFO: CPPConverting::Convert: InConvertType: 6, OutConvertType: 8
12/7 23:06:04.674 2b84 Facility ???INFO: CPPConverting::ConvertDisks: pathInput: [Archive_VMs] LGCSBDC301 - Domain Controller/LGCSBDC301 - Domain Controller.vmdk, pathOutput: C:\ClusterStorage\Volume1\Hyper-V\Virtual Hard Disks\LGCSBDC301 - Domain Controller\Virtual Hard Disks\LGCSBDC301 - Domain Controlle.vhdx
12/7 23:06:05.185 2b84 Facility ???INFO: ESXVmdk::ParseFile: sFilename - [Archive_VMs] LGCSBDC301 - Domain Controller/LGCSBDC301 - Domain Controller.vmdk
12/7 23:06:05.185 2b84 Facility ???INFO: ESXVmdk::ParseFile: m_cvmxSpec - moref=vm-118
12/7 23:06:05.201 2b84 Facility ???INFO: ESXVmdk::ParseFile: sslThumbprint - FE:4A:26:7D:6B:CA:B9:E3:E1:29:CA:FC:13:73:D3:0D:EE:69:3E:5D
12/7 23:06:07.622 2b84 Facility ???INFO: CPPConverting::ConvertDisks: CreateInputImage: 0
12/7 23:06:08.622 2b84 Facility ???INFO: CPPConverting::ConvertDisks: CreateOutputImage: 0
12/7 23:09:21.565 1868 Facility ???INFO: VMConverter::ESXIConverter::Connection::<lambda_8874940e4602bbfc5e7b4b277e23eb86>::operator (): No_timeout ESX connection
12/7 23:26:24.475 2b84 Facility ???INFO: CPPConverting::ConvertImage: Success
12/7 23:26:24.475 2b84 Facility ???INFO: CPPConverting::ConvertDisks: pathInput: [Archive_VMs] LGCSBDC301 - Domain Controller/LGCSBDC301 - Domain Controller_1.vmdk, pathOutput: C:\ClusterStorage\Volume1\Hyper-V\Virtual Hard Disks\LGCSBDC301 - Domain Controller\Virtual Hard Disks\LGCSBDC301 - Domain Controller_.vhdx
12/7 23:26:24.475 2b84 Facility ???INFO: ESXVmdk::ParseFile: sFilename - [Archive_VMs] LGCSBDC301 - Domain Controller/LGCSBDC301 - Domain Controller_1.vmdk
12/7 23:26:24.475 2b84 Facility ???INFO: ESXVmdk::ParseFile: m_cvmxSpec - moref=vm-118
12/7 23:26:24.487 2b84 Facility ???INFO: ESXVmdk::ParseFile: sslThumbprint - FE:4A:26:7D:6B:CA:B9:E3:E1:29:CA:FC:13:73:D3:0D:EE:69:3E:5D
12/7 23:26:25.602 2b84 Facility ???INFO: CPPConverting::ConvertDisks: CreateInputImage: 0
12/7 23:26:26.357 2b84 Facility ???INFO: CPPConverting::ConvertDisks: CreateOutputImage: 0
12/7 23:37:35.612 2b84 Facility ???INFO: CPPConverting::ConvertImage: Success
12/7 23:37:36.103 2b84 Facility ???INFO: WrapperHyperV::modify_cpu_and_memory: MaxCPU - 32
12/7 23:37:36.128 2b84 Facility ???INFO: WrapperHyperV::getMaxMemory: MaxRAM - 511992
12/7 23:37:36.379 2b84 Facility ???INFO: VMConverter::HyperVConverter::CreateVM: add_disk_synthetic 1
12/7 23:37:36.545 2b84 Facility ???INFO: VMConverter::HyperVConverter::CreateVM: add_disk_synthetic 1
12/7 23:37:36.573 2b84 Facility ???INFO: CPPConverting::ConverterVMtoVM: Create VM 08A45BA6-4C8E-4738-963C-543744E51369
12/7 23:37:36.573 2b84 Facility ???INFO: CPPConverting::Convert: SUCCESSFULLY
12/7 23:50:03.418 3360 Facility ???WARNING: WrapperESXI::disconnect: m_proxy->Logout fail - 12
12/7 23:50:03.418 3360 Facility ???ERROR: getErrorFromSOAP: soap_sprint_fault - SOAP 1.1 fault "":ServerFaultCode [no subcode]
"The session is not authenticated."
Detail:
yaroslav (staff)
Staff
Posts: 2316
Joined: Mon Nov 18, 2019 11:11 am

Fri Dec 08, 2023 7:53 am

Thanks a lot! Can you please try converting the disk alone? Also, can you please see if it has any checkpoints and whether other disks can convert well?
nrothwell
Posts: 3
Joined: Thu Dec 07, 2023 6:46 pm

Fri Dec 08, 2023 10:46 am

so i installed the app on the vSphere manager server 6.0
connected to remote VMware Cluster - converted to local file C: drive.

see below - we took over the client - the two hosts are up 7.5 years and vshphere has not been updated in 6 years


The log file name: 'logs\V2V_Log-20231208-102807.log' (PID 90352)
12/8 10:28:07.237 17328 Facility ???INFO: CV2V_ConverterApp::InitInstance: SetDllDirectory: C:\Program Files\StarWind Software\StarWind V2V Converter\lib
12/8 10:28:07.237 17328 Facility ???INFO: CV2V_ConverterApp::InitInstance: File Version: 9.0.1.369
12/8 10:28:07.243 17328 Facility ???INFO: CV2V_ConverterApp::InitInstance: Load language IDR_XML_ENGLISH
12/8 10:28:07.243 17328 Facility ???INFO: CV2V_ConverterApp::InitInstance: Set current language English
12/8 10:28:07.245 17328 Facility ???INFO: CPS_V2V_Converter::CPS_V2V_Converter: Version MajorVersion 6, MinorVersion 3, BuildNumber 9600
12/8 10:28:07.248 17328 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - 14120000
12/8 10:28:07.249 17328 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - 14120000
12/8 10:28:11.236 17328 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eESXConnection
12/8 10:28:36.647 17328 Facility ???INFO: WrapperESXI::connect: m_url - https://10.10.6.200/sdk
12/8 10:28:36.693 17328 Facility ???INFO: WrapperESXI::connect: fullName - Administrator vsphere.local, key - 52e48bde-a2f0-cbb8-3e91-0ba8bb159e63
12/8 10:28:36.694 17328 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eInputVM
12/8 10:28:37.538 17328 Facility ???INFO: VMConverter::ESXIConverter::GetHostListInfo: ESX version: 6.0.0
12/8 10:28:37.538 17328 Facility ???INFO: VMConverter::ESXIConverter::GetHostListInfo: ESX version: 6.0.0
12/8 10:28:46.766 17328 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eLocationTo
12/8 10:28:56.733 17328 Facility ???INFO: ICPPage::OnWizardBack: SetActivePage - eInputVM
12/8 10:29:09.746 17328 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eLocationTo
12/8 10:29:12.784 17328 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eFormat
12/8 10:29:16.831 17328 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eOptionsHyperV
12/8 10:29:20.901 17328 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eConverting
12/8 10:29:30.392 17328 Facility ???INFO: CPPOutputFile::onNext: Out path: C:\temp\LGCSBDC301 - Domain Controller_1.vhdx, Out format 11
12/8 10:29:30.392 17328 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eHYPERVConnectionTo
12/8 10:29:30.408 15eac Facility ???INFO: CPPConverting::Convert: InConvertType: 5, OutConvertType: 4
12/8 10:29:30.409 15eac Facility ???INFO: CPPConverting::ConvertDisks: pathInput: [Archive_VMs] LGCSBDC301 - Domain Controller/LGCSBDC301 - Domain Controller_1.vmdk, pathOutput: C:\temp\LGCSBDC301 - Domain Controller_1.vhdx
12/8 10:29:30.820 15eac Facility ???INFO: ESXVmdk::ParseFile: sFilename - [Archive_VMs] LGCSBDC301 - Domain Controller/LGCSBDC301 - Domain Controller_1.vmdk
12/8 10:29:30.820 15eac Facility ???INFO: ESXVmdk::ParseFile: m_cvmxSpec - moref=vm-118
12/8 10:29:30.829 15eac Facility ???INFO: ESXVmdk::ParseFile: sslThumbprint - FE:4A:26:7D:6B:CA:B9:E3:E1:29:CA:FC:13:73:D3:0D:EE:69:3E:5D
12/8 10:29:32.546 15eac Facility ???INFO: CPPConverting::ConvertDisks: CreateInputImage: 0
12/8 10:29:34.204 15eac Facility ???INFO: CPPConverting::ConvertDisks: CreateOutputImage: 0
12/8 10:33:36.695 14d44 Facility ???INFO: VMConverter::ESXIConverter::Connection::<lambda_8874940e4602bbfc5e7b4b277e23eb86>::operator (): Timeout ESX connection
12/8 10:35:33.470 15eac Facility ???INFO: CPPConverting::ConvertImage: Success
12/8 10:35:33.471 15eac Facility ???INFO: CVHDXFile::Mount: sFilename - C:\temp\LGCSBDC301 - Domain Controller_1.vhdx
12/8 10:35:34.568 15eac Facility ???ERROR: CVHDXFile::Mount: OpenVirtualDisk is fail - 1392
12/8 10:35:34.574 15eac Facility ???ERROR: CVHDXFile::Mount: The file or directory is corrupted and unreadable.
12/8 10:35:34.577 15eac Facility ???INFO: CPPConverting::Convert: SUCCESSFULLY
yaroslav (staff)
Staff
Posts: 2316
Joined: Mon Nov 18, 2019 11:11 am

Fri Dec 08, 2023 11:17 am

Can you try a different VM on another datastore please?
Post Reply