Error converting Windows server to a VM

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

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

Post Reply
User avatar
kmso
Posts: 4
Joined: Wed Feb 21, 2024 8:29 pm

Wed Feb 21, 2024 8:36 pm

When I run the migrator to make the physical server into a VM on vcenter it fails. In the error logs I found this:

2/21 15:23:53.343 e0c Facility ???ERROR: ESXVmdk::ParseFile: m_VixDiskLib_Open is fail - 4, A file was not found
2/21 15:23:53.343 e0c Facility ???ERROR: ESXIDisk::CreateOutputImage: ParseFile is fail
2/21 15:23:53.343 e0c Facility ???INFO: CPPConverting::ConvertDisks: CreateOutputImage: 1
2/21 15:23:53.343 e0c Facility ???ERROR: CPPConverting::Convert: FAILED

If anyone could give me some assistance on what to do or what this error means I'd really appreciate it.
If you need more details just let me know.
yaroslav (staff)
Staff
Posts: 2360
Joined: Mon Nov 18, 2019 11:11 am

Thu Feb 22, 2024 4:26 am

Welcome to StarWind Forum.
Can you please convert an individual disk into a virtual one? Let me know if that works!
User avatar
kmso
Posts: 4
Joined: Wed Feb 21, 2024 8:29 pm

Thu Feb 22, 2024 8:10 pm

I tried converting one of the disks and it also failed. Here is the log file from that:

The log file name: 'logs\V2V_Log-20240222-150632.log' (PID 3860)
2/22 15:06:32.840 16c4 Facility ???INFO: CV2V_ConverterApp::InitInstance: SetDllDirectory: C:\Program Files\StarWind Software\StarWind V2V Converter\lib
2/22 15:06:32.840 16c4 Facility ???INFO: CV2V_ConverterApp::InitInstance: File Version: 9.0.1.413
2/22 15:06:32.856 16c4 Facility ???INFO: CV2V_ConverterApp::InitInstance: Load language IDR_XML_ENGLISH
2/22 15:06:32.856 16c4 Facility ???INFO: CV2V_ConverterApp::InitInstance: Set current language English
2/22 15:06:32.856 16c4 Facility ???INFO: CPS_V2V_Converter::CPS_V2V_Converter: Version MajorVersion 6, MinorVersion 1, BuildNumber 7601
2/22 15:06:32.856 16c4 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - f59b0000
2/22 15:06:32.856 16c4 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - f59b0000
2/22 15:06:47.442 16c4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eAWSConnectionTo
2/22 15:06:48.752 16c4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eAzureConnectionTo
2/22 15:06:50.811 16c4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eLocationTo
2/22 15:06:51.669 16c4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eFormat
2/22 15:06:54.930 16c4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eOptionsVMware
2/22 15:06:57.348 16c4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eOptionsESXI
2/22 15:06:59.064 16c4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eConverting
2/22 15:07:18.704 16c4 Facility ???INFO: CPPOutputFile::onNext: Out path: D:\TestDiskImage.vmdk, Out format 15
2/22 15:07:18.704 16c4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eHYPERVConnectionTo
2/22 15:07:18.704 578 Facility ???INFO: CPPConverting::Convert: InConvertType: 1, OutConvertType: 4
2/22 15:07:18.704 578 Facility ???INFO: CPPConverting::ConvertDisks: pathInput: 0, pathOutput: D:\TestDiskImage.vmdk
2/22 15:07:18.704 578 Facility ???INFO: P2V::CreateInputImage: path 0
2/22 15:07:18.704 578 Facility ???INFO: P2V::CreateInputImage: Size 0 - 42949672960, BytesPerSector - 512
2/22 15:07:24.180 578 Facility ???INFO: CPPConverting::ConvertDisks: CreateInputImage: 0
2/22 15:07:24.242 578 Facility ???INFO: VMwareFile::NewFile: sFileName - D:\TestDiskImage.vmdk
2/22 15:07:24.242 578 Facility ???INFO: VMwareFile::NewFile: SectorType - 83886080
2/22 15:07:24.242 578 Facility ???INFO: VMwareFile::NewFile: EVMDKCreateType - 1
2/22 15:07:24.242 578 Facility ???INFO: VMwareFile::NewFile: EVMDKAdapterType - 0
2/22 15:07:24.242 578 Facility ???INFO: VMwareFile::NewFile: createType is fail - 1
2/22 15:07:24.242 578 Facility ???INFO: CPPConverting::ConvertDisks: CreateOutputImage: 19
2/22 15:07:24.242 578 Facility ???ERROR: CPPConverting::Convert: FAILED
yaroslav (staff)
Staff
Posts: 2360
Joined: Mon Nov 18, 2019 11:11 am

Thu Feb 22, 2024 10:53 pm

What is ESXi version you use? Is it free?
User avatar
kmso
Posts: 4
Joined: Wed Feb 21, 2024 8:29 pm

Thu Feb 22, 2024 11:16 pm

The location for the destination image of that virtual disk you wanted me to make was on the local server which is running windows server 2008 R2.

Our goal is to virtualize the 2008 server onto our ESXi server running ESXi 7.0.3
Once we have it virtualized we are just going to offline it and store it away for several years to have in case we need some legacy services off it.
yaroslav (staff)
Staff
Posts: 2360
Joined: Mon Nov 18, 2019 11:11 am

Thu Feb 22, 2024 11:40 pm

Hi,

Thanks for your update. One last question before I go to further log analysis. Did you try pointing to ESXi host instead of the vCenter when converting? Thanks!
User avatar
kmso
Posts: 4
Joined: Wed Feb 21, 2024 8:29 pm

Thu Feb 22, 2024 11:59 pm

I just tried that as well, it also failed. I've added the logs from that attempt.

The log file name: 'logs\V2V_Log-20240222-184002.log' (PID 3488)
2/22 18:40:02.603 102c Facility ???INFO: CV2V_ConverterApp::InitInstance: SetDllDirectory: C:\Program Files\StarWind Software\StarWind V2V Converter\lib
2/22 18:40:02.603 102c Facility ???INFO: CV2V_ConverterApp::InitInstance: File Version: 9.0.1.413
2/22 18:40:02.618 102c Facility ???INFO: CV2V_ConverterApp::InitInstance: Load language IDR_XML_ENGLISH
2/22 18:40:02.618 102c Facility ???INFO: CV2V_ConverterApp::InitInstance: Set current language English
2/22 18:40:02.618 102c Facility ???INFO: CPS_V2V_Converter::CPS_V2V_Converter: Version MajorVersion 6, MinorVersion 1, BuildNumber 7601
2/22 18:40:02.618 102c Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - f59b0000
2/22 18:40:02.618 102c Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - f59b0000
2/22 18:40:14.694 102c Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eAWSConnectionTo
2/22 18:40:27.175 102c Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eAWSConnection
2/22 18:40:29.265 102c Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eLocationTo
2/22 18:40:32.229 102c Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eVMSettingsAWS
2/22 18:49:25.630 102c Facility ???INFO: WrapperESXI::connect: m_url - https://***.***.***.***/sdk
2/22 18:49:25.661 102c Facility ???INFO: WrapperESXI::connect: fullName - *************, key - *************
2/22 18:49:25.661 102c Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eSelectFolder
2/22 18:49:25.723 102c Facility ???INFO: VMConverter::ESXIConverter::GetHostListInfo: ESX version: 7.0.3
2/22 18:49:51.323 102c Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eHYPERVConnectionTo
2/22 18:49:51.323 1730 Facility ???INFO: CPPConverting::Convert: InConvertType: 3, OutConvertType: 6
2/22 18:49:51.339 1730 Facility ???INFO: CheckFileESX::CheckFileExistance: GetBrowser fail - File [VxRail-Virtual-SAN-Datastore-*************] SRVR was not found
2/22 18:49:51.620 1730 Facility ???INFO: WrapperESXI::Wait: Progress - 100
2/22 18:49:51.713 1730 Facility ???INFO: VMConverter::ESXIConverter::CreateVM: createVM is true, 12
2/22 18:49:51.713 1730 Facility ???INFO: CPPConverting::ConverterESX: Create VM 12
2/22 18:49:51.791 1730 Facility ???INFO: CPPConverting::ConvertDisks: pathInput: 0, pathOutput: [VxRail-Virtual-SAN-Datastore-*************] SRVR/HDD0.mvmdk
2/22 18:49:51.791 1730 Facility ???INFO: P2V::CreateInputImage: path 0
2/22 18:49:51.791 1730 Facility ???INFO: P2V::CreateInputImage: Size 0 - 999116767232, BytesPerSector - 512
2/22 18:50:01.307 1730 Facility ???INFO: CPPConverting::ConvertDisks: CreateInputImage: 0
2/22 18:50:01.370 1730 Facility ???INFO: ESXVmdk::ParseFile: sFilename - [VxRail-Virtual-SAN-Datastore-*************] SRVR/HDD0.mvmdk
2/22 18:50:01.370 1730 Facility ???INFO: ESXVmdk::ParseFile: m_cvmxSpec - moref=12
2/22 18:50:01.370 1730 Facility ???INFO: ESXVmdk::ParseFile: sslThumbprint - *************
2/22 18:50:01.635 1730 Facility ???ERROR: ESXVmdk::ParseFile: m_VixDiskLib_Open is fail - 4, A file was not found
2/22 18:50:01.635 1730 Facility ???ERROR: ESXIDisk::CreateOutputImage: ParseFile is fail
2/22 18:50:01.635 1730 Facility ???INFO: CPPConverting::ConvertDisks: CreateOutputImage: 1
2/22 18:50:01.635 1730 Facility ???ERROR: CPPConverting::Convert: FAILED
yaroslav (staff)
Staff
Posts: 2360
Joined: Mon Nov 18, 2019 11:11 am

Fri Feb 23, 2024 12:28 am

Thanks for the logs. We will have a closer look.
yaroslav (staff)
Staff
Posts: 2360
Joined: Mon Nov 18, 2019 11:11 am

Mon Feb 26, 2024 2:22 pm

Hi,

It looks like you are converting a VM from AWS to VxRail.
I double-checked it with my colleagues, and StarWind V2V Converter does not support conversion to *.mvmdk file. Please try converting the VM disks as VMDKs on a Windows or ESXi host and copy them to VxRail (if it allows for VMs having *.vmdk disks).
Post Reply