error converting physical disk to ESXI growable image

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

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

Post Reply
gnesper
Posts: 5
Joined: Thu Jan 12, 2023 4:37 pm

Thu Jan 12, 2023 5:12 pm

Hello everybody.
I'm trying to convert the physical disk of a running machine, the same one where I installed starwind converter.
The procedure I follow is the following:
P2V -> Physical Disk (I choose both the C drive and the boot partition) -> local file ->VMDK->ESXi Server image->ESXi growable image.
At this point I can choose to also save the file to a network location with enough space to hold the file.
Once the conversion has started, these errors pop up:
error creating image
Invalid parameter
Conversion failed


I tried this procedure both with a physical (non-virtual) windows 10 client pc and with a physical (non-virtual) windows 2012 server, but the result is always the same

thank you
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Thu Jan 12, 2023 11:50 pm

Could you please tell me more about the source OS and ESXi version you are using?
ESXi Free might not support certain APIs V2V Converter uses.
gnesper
Posts: 5
Joined: Thu Jan 12, 2023 4:37 pm

Fri Jan 13, 2023 4:55 pm

the source OS is Windows Server 2012 Foundation 64 bit and it's not virtual, but it's physical.
I just tried to create a backup from physical server to to vmdk file
If I do the same steps but select "ESXi pre-allocadet image" the convertion proccess is successful.
So, the error pops up only if I choose "ESXi growable image"

thank you
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Fri Jan 13, 2023 10:40 pm

Can I have the full set of logs, please? You can find them under V2V Convertor's directory in the logs folder.
gnesper
Posts: 5
Joined: Thu Jan 12, 2023 4:37 pm

Thu Jan 19, 2023 5:12 pm

Hi. I can't attach the log file (error about the format).

Here is the content:

The log file name: 'logs\V2V_Log-20230119-175433.log' (PID 2728)
1/19 17:54:33.451 db8 Facility ???INFO: CV2V_ConverterApp::InitInstance: SetDllDirectory: C:\Program Files\StarWind Software\StarWind V2V Converter\lib
1/19 17:54:33.451 db8 Facility ???INFO: CV2V_ConverterApp::InitInstance: File Version: 9.0.1.268
1/19 17:54:33.472 db8 Facility ???INFO: CV2V_ConverterApp::InitInstance: Load language IDR_XML_ENGLISH
1/19 17:54:33.472 db8 Facility ???INFO: CV2V_ConverterApp::InitInstance: Set current language English
1/19 17:54:33.476 db8 Facility ???INFO: CPS_V2V_Converter::CPS_V2V_Converter: Version MajorVersion 6, MinorVersion 2, BuildNumber 9200
1/19 17:54:33.505 db8 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - 4cf50000
1/19 17:54:33.506 db8 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - 4cf50000
1/19 17:54:45.648 db8 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eTypeP2V
1/19 17:54:52.817 db8 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eVolumeSelect
1/19 17:54:55.288 db8 Facility ???INFO: ICPPage::OnWizardBack: SetActivePage - eTypeP2V
1/19 17:54:57.113 db8 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eHDDSelect
1/19 17:54:59.953 db8 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eLocationTo
1/19 17:55:07.153 db8 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eFormat
1/19 17:55:27.552 db8 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eOptionsVMware
1/19 17:55:33.665 db8 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eOptionsESXI
1/19 17:55:40.912 db8 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eOutputFile
1/19 17:56:04.281 db8 Facility ???INFO: CPPOutputFile::onNext: Out path: \\192.168.0.105\server_sici\copia virtuale\SERVEjjjjjjj.vmdk, Out format 13
1/19 17:56:04.281 db8 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eConverting
1/19 17:56:04.364 16a4 Facility ???INFO: CPPConverting::Convert: InConvertType: 2, OutConvertType: 4
1/19 17:56:04.364 16a4 Facility ???INFO: CPPConverting::ConvertImage: pathInput: 0, pathOutput: \\192.168.0.105\server_sici\copia virtuale\SERVEjjjjjjj.vmdk
1/19 17:56:04.462 16a4 Facility ???INFO: P2V::CreateInputImage: path 0
1/19 17:56:04.579 16a4 Facility ???INFO: P2V::CreateInputImage: Size 0 - 498999492608, BytesPerSector - 512
1/19 18:00:22.896 16a4 Facility ???INFO: CPPConverting::ConvertImage: CreateInputImage: 0
1/19 18:00:28.174 16a4 Facility ???INFO: VMwareFile::NewFile: sFileName - \\192.168.0.105\server_sici\copia virtuale\SERVEjjjjjjj.vmdk
1/19 18:00:28.215 16a4 Facility ???INFO: VMwareFile::NewFile: SectorType - 974608384
1/19 18:00:28.215 16a4 Facility ???INFO: VMwareFile::NewFile: EVMDKCreateType - 1
1/19 18:00:28.215 16a4 Facility ???INFO: VMwareFile::NewFile: EVMDKAdapterType - 0
1/19 18:00:28.215 16a4 Facility ???INFO: VMwareFile::NewFile: createType is fail - 1
1/19 18:00:28.215 16a4 Facility ???INFO: CPPConverting::ConvertImage: CreateOutputImage: 19
1/19 18:00:28.247 16a4 Facility ???ERROR: CPPConverting::Convert: FAILED
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Fri Jan 20, 2023 8:53 am

Does the location have enough space to accommodate the thick disk?
gnesper
Posts: 5
Joined: Thu Jan 12, 2023 4:37 pm

Fri Jan 20, 2023 10:07 am

yes, if choose ESXi pre-allocadet image the backup works fine
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Sun Jan 22, 2023 12:22 am

Thank you for your update.
Is 192.168.0.105 the IP address of vCenter or the ESXi host?
gnesper
Posts: 5
Joined: Thu Jan 12, 2023 4:37 pm

Fri Jan 27, 2023 4:49 pm

192.168.0.105 is the address of the NAs where I want to save the file
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Sat Jan 28, 2023 7:05 pm

Can you browse that location in the V2V converter GUI?
Please try converting it to ESXi host.
ts2340
Posts: 3
Joined: Mon Aug 21, 2023 7:52 pm

Mon Aug 21, 2023 7:54 pm

So I'm having this same issue.. I can convert to a local ESXI image if I choose pre-allocated but it errors out when I choose growable image (saving in the same location)..

Any ideas? Thanks
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Mon Aug 21, 2023 10:38 pm

Hi,

Can you please share the conversion logs?
ts2340
Posts: 3
Joined: Mon Aug 21, 2023 7:52 pm

Tue Aug 22, 2023 7:08 pm

yaroslav (staff) wrote:Hi,

Can you please share the conversion logs?
Thanks for the reply. Here you go:

Code: Select all

The log file name: 'logs\V2V_Log-20230822-200247.log' (PID 32936)
8/22 20:02:47.700 3640 Facility ???INFO: CV2V_ConverterApp::InitInstance: SetDllDirectory: C:\Program Files\StarWind Software\StarWind V2V Converter\lib
8/22 20:02:47.700 3640 Facility ???INFO: CV2V_ConverterApp::InitInstance: File Version: 9.0.1.268
8/22 20:02:47.700 3640 Facility ???INFO: CV2V_ConverterApp::InitInstance: Load language IDR_XML_ENGLISH
8/22 20:02:47.700 3640 Facility ???INFO: CV2V_ConverterApp::InitInstance: Set current language English
8/22 20:02:47.700 3640 Facility ???INFO: CPS_V2V_Converter::CPS_V2V_Converter: Version MajorVersion 10, MinorVersion 0, BuildNumber 14393
8/22 20:02:47.715 3640 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - ea150000
8/22 20:02:47.715 3640 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - ea150000
8/22 20:02:56.603 3640 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eHYPERVConnection
8/22 20:02:57.510 3640 Facility ???INFO: WrapperHyperV::connect: Host - \\localhost\root\virtualization\v2
8/22 20:02:57.577 3640 Facility ???INFO: WrapperHyperV::init_version: HyperV version: 10.0.14393
8/22 20:02:57.577 3640 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eInputVM
8/22 20:03:04.056 3640 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eLocationTo
8/22 20:03:06.815 3640 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eESXConnectionTo
8/22 20:03:09.320 3640 Facility ???INFO: ICPPage::OnWizardBack: SetActivePage - eLocationTo
8/22 20:03:15.835 3640 Facility ???INFO: ICPPage::OnWizardBack: SetActivePage - eInputVM
8/22 20:03:22.060 3640 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eLocationTo
8/22 20:03:24.137 3640 Facility ???INFO: ICPPage::OnWizardBack: SetActivePage - eInputVM
8/22 20:03:27.469 3640 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eLocationTo
8/22 20:03:35.970 3640 Facility ???INFO: ICPPage::OnWizardBack: SetActivePage - eInputVM
8/22 20:03:36.566 3640 Facility ???INFO: ICPPage::OnWizardBack: SetActivePage - eHYPERVConnection
8/22 20:03:37.580 3640 Facility ???INFO: ICPPage::OnWizardBack: SetActivePage - eLocation
8/22 20:03:40.989 3640 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eInputFile
8/22 20:04:01.435 3640 Facility ???INFO: CPPInputFile::checkFile: Select file: E:\Virtual Machines\SERVER\SERVER_HardDisk0.vhdx
8/22 20:04:01.435 3640 Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 1.
8/22 20:04:01.435 3640 Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 2.
8/22 20:04:01.435 3640 Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 1.
8/22 20:04:01.435 3640 Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 2.
8/22 20:04:01.450 3640 Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
8/22 20:04:01.450 3640 Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
8/22 20:04:01.466 3640 Facility ???INFO: CPPInputFile::checkFile: ParseFile: 0
8/22 20:04:01.466 3640 Facility ???INFO: CPPInputFile::checkFile: File type: IDS_IMAGE_CONVERTER_FORMAT_NAME_VHDX_SPARSE  File size: 266338304 sectors
8/22 20:04:03.265 3640 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eLocationTo
8/22 20:04:06.427 3640 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eFormat
8/22 20:04:11.483 3640 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eOptionsVMware
8/22 20:04:14.284 3640 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eOptionsESXI
8/22 20:04:16.877 3640 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eOutputFile
8/22 20:04:38.082 3640 Facility ???INFO: CPPOutputFile::onNext: Out path: C:\ManagedClient\SERVER.vmdk, Out format 13
8/22 20:04:38.094 3640 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eConverting
8/22 20:04:38.107 8394 Facility ???INFO: CPPConverting::Convert: InConvertType: 4, OutConvertType: 4
8/22 20:04:38.108 8394 Facility ???INFO: CPPConverting::ConvertImage: pathInput: E:\Virtual Machines\SERVER\SERVER_HardDisk0.vhdx, pathOutput: C:\ManagedClient\SERVER.vmdk
8/22 20:04:38.108 8394 Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 1.
8/22 20:04:38.108 8394 Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 2.
8/22 20:04:38.108 8394 Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 1.
8/22 20:04:38.109 8394 Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 2.
8/22 20:04:38.109 8394 Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
8/22 20:04:38.109 8394 Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
8/22 20:04:38.109 8394 Facility ???INFO: CPPConverting::ConvertImage: CreateInputImage: 0
8/22 20:04:38.273 8394 Facility ???INFO: VMwareFile::NewFile: sFileName - C:\ManagedClient\SERVER.vmdk
8/22 20:04:38.273 8394 Facility ???INFO: VMwareFile::NewFile: SectorType - 266338304
8/22 20:04:38.273 8394 Facility ???INFO: VMwareFile::NewFile: EVMDKCreateType - 1
8/22 20:04:38.273 8394 Facility ???INFO: VMwareFile::NewFile: EVMDKAdapterType - 0
8/22 20:04:38.273 8394 Facility ???INFO: VMwareFile::NewFile: createType is fail - 1
8/22 20:04:38.273 8394 Facility ???INFO: CPPConverting::ConvertImage: CreateOutputImage: 19
8/22 20:04:38.273 8394 Facility ???ERROR: CPPConverting::Convert: FAILED
ts2340
Posts: 3
Joined: Mon Aug 21, 2023 7:52 pm

Tue Aug 22, 2023 7:23 pm

And here's a working one on the same server but chosing pre-allocated..

Code: Select all

The log file name: 'logs\V2V_Log-20230822-201606.log' (PID 27600)
8/22 20:16:06.032 3a18 Facility ???INFO: CV2V_ConverterApp::InitInstance: SetDllDirectory: C:\Program Files\StarWind Software\StarWind V2V Converter\lib
8/22 20:16:06.032 3a18 Facility ???INFO: CV2V_ConverterApp::InitInstance: File Version: 9.0.1.268
8/22 20:16:06.036 3a18 Facility ???INFO: CV2V_ConverterApp::InitInstance: Load language IDR_XML_ENGLISH
8/22 20:16:06.036 3a18 Facility ???INFO: CV2V_ConverterApp::InitInstance: Set current language English
8/22 20:16:06.041 3a18 Facility ???INFO: CPS_V2V_Converter::CPS_V2V_Converter: Version MajorVersion 10, MinorVersion 0, BuildNumber 14393
8/22 20:16:06.046 3a18 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - ea150000
8/22 20:16:06.047 3a18 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - ea150000
8/22 20:16:12.251 3a18 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eInputFile
8/22 20:16:45.638 3a18 Facility ???INFO: CPPInputFile::checkFile: Select file: E:\Virtual Machines\SERVER\SERVER_HardDisk0.vhdx
8/22 20:16:45.645 3a18 Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 1.
8/22 20:16:45.646 3a18 Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 2.
8/22 20:16:45.646 3a18 Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 1.
8/22 20:16:45.646 3a18 Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 2.
8/22 20:16:45.648 3a18 Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
8/22 20:16:45.652 3a18 Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
8/22 20:16:45.657 3a18 Facility ???INFO: CPPInputFile::checkFile: ParseFile: 0
8/22 20:16:45.658 3a18 Facility ???INFO: CPPInputFile::checkFile: File type: IDS_IMAGE_CONVERTER_FORMAT_NAME_VHDX_SPARSE  File size: 266338304 sectors
8/22 20:16:47.361 3a18 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eLocationTo
8/22 20:16:49.717 3a18 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eFormat
8/22 20:16:51.466 3a18 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eOptionsVMware
8/22 20:16:53.833 3a18 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eOptionsESXI
8/22 20:16:56.617 3a18 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eOutputFile
8/22 20:17:16.307 3a18 Facility ???INFO: CPPOutputFile::onNext: Out path: C:\ManagedClient\SERVER_HardDisk.vmdk, Out format 14
8/22 20:17:16.307 3a18 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eConverting
8/22 20:17:16.319 15c Facility ???INFO: CPPConverting::Convert: InConvertType: 4, OutConvertType: 4
8/22 20:17:16.320 15c Facility ???INFO: CPPConverting::ConvertImage: pathInput: E:\Virtual Machines\SERVER\SERVER_HardDisk0.vhdx, pathOutput: C:\ManagedClient\SERVER_HardDisk.vmdk
8/22 20:17:16.321 15c Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 1.
8/22 20:17:16.321 15c Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 2.
8/22 20:17:16.321 15c Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 1.
8/22 20:17:16.321 15c Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 2.
8/22 20:17:16.321 15c Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
8/22 20:17:16.322 15c Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
8/22 20:17:16.322 15c Facility ???INFO: CPPConverting::ConvertImage: CreateInputImage: 0
8/22 20:17:16.471 15c Facility ???INFO: VMwareFile::NewFile: sFileName - C:\ManagedClient\SERVER_HardDisk.vmdk
8/22 20:17:16.471 15c Facility ???INFO: VMwareFile::NewFile: SectorType - 266338304
8/22 20:17:16.471 15c Facility ???INFO: VMwareFile::NewFile: EVMDKCreateType - 3
8/22 20:17:16.471 15c Facility ???INFO: VMwareFile::NewFile: EVMDKAdapterType - 0
8/22 20:17:16.559 15c Facility ???INFO: CPPConverting::ConvertImage: CreateOutputImage: 0
8/22 20:20:39.670 15c Facility ???INFO: CPPConverting::ConvertImage: Success
8/22 20:20:39.770 15c Facility ???INFO: CPPConverting::Convert: SUCCESSFULLY
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Fri Aug 25, 2023 9:24 am

Hi, just to confirm: are you converting a VHDX to a local device or ESXi datastore?
UPDATE: You were converting to the VM ESXi file (i.e., something that is the part of the VM). It is not expected to be available as a local file.
Post Reply