All Posts

The snapshot is in fact being created on restore - but has anyone seen this with this version of VDDK?  Why it is failing the preflight check for SAN?
VMware  (7.0.3) Release build-18705163 dmidecode -t system output confirms that backup host is physical And the disks are thick eager-zeroed, so a SAN based restore should work The problem: [110]... See more...
VMware  (7.0.3) Release build-18705163 dmidecode -t system output confirms that backup host is physical And the disks are thick eager-zeroed, so a SAN based restore should work The problem: [110] [diskLibLog] 2022-05-16T08:52:18.611+02:00 trivia -[09220] [Originator@6876 sub=transport] Checking transport mode san. [110] [diskLibLog] 2022-05-16T08:52:18.611+02:00 warning -[09220] [Originator@6876 sub=transport] SAN transport mode requires a snapshot ß-------------------------------!! [110] [diskLibLog] 2022-05-16T08:52:18.611+02:00 trivia -[09220] [Originator@6876 sub=transport] Transport mode san failed pre-flight check. Ignoringß---------------------!!   ================================= Is this a known issue with the VDDK version i question -(7.0.3) Release build-18705163?
Transport mode hotadd failed pre-flight check. Ignoring. [Originator@6876 sub=transport] Checking transport mode hotadd. [Originator@6876 sub=transport] BIOS UUID obtained: 52f0adf1-86ef-ceaa-6a6b-1... See more...
Transport mode hotadd failed pre-flight check. Ignoring. [Originator@6876 sub=transport] Checking transport mode hotadd. [Originator@6876 sub=transport] BIOS UUID obtained: 52f0adf1-86ef-ceaa-6a6b-101ecf25f703 [Originator@6876 sub=transport] Performing SearchIndex find. [Originator@6876 sub=HttpConnectionPool-000000] [PopPendingConnection] No pending connections to [Originator@6876 sub=HttpConnectionPool-000000] [PopPendingConnection] No pending connections to [Originator@6876 sub=transport] Could not find virtual machine. [Originator@6876 sub=transport] Transport mode hotadd failed pre-flight check. Ignoring. According to the programming guide,i run my backup proxy as virtual machine on the esxi. The proxy and the target virtual machine use the same datastore. I did everything I thought I should,but the hotadd check is stiil fails. Is there anything else I need to do ? Thanks.
ESXi version: 6.7.0 build-8169922 VDDk:6.7 ESXi hostd.log: Snapshot started 2022-10-19T12:00:14.341Z info hostd[2101180] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/5f5f292c-2aa5603e-d599-806... See more...
ESXi version: 6.7.0 build-8169922 VDDk:6.7 ESXi hostd.log: Snapshot started 2022-10-19T12:00:14.341Z info hostd[2101180] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/5f5f292c-2aa5603e-d599-80615f057c88/HeZhanGuo-DaiLiQianZhiYeWu-30-5-10/HeZhanGuo-DaiLiQianZhiYeWu-30-5-10.vmx opID=4b70d3e6-6d-1e1a user=vpxuser:BOCJS.BOCJS\Administrator] State Transition (VM_STATE_ON -> VM_STATE_CREATE_SNAPSHOT)   Snapshot success 2022-10-19T12:00:20.306Z info hostd[6851739] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/5f5f292c-2aa5603e-d599-80615f057c88/HeZhanGuo-DaiLiQianZhiYeWu-30-5-10/HeZhanGuo-DaiLiQianZhiYeWu-30-5-10.vmx] State Transition (VM_STATE_CREATE_SNAPSHOT -> VM_STATE_ON) Get allocated blocks success 2022-10-19T12:00:24.433Z warning hostd[2101178] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/5f5f292c-2aa5603e-d599-80615f057c88/HeZhanGuo-DaiLiQianZhiYeWu-30-5-10/HeZhanGuo-DaiLiQianZhiYeWu-30-5-10.vmx opID=6c9e69c7-9-1e49 user=vpxuser:BOCJS.BOCJS\Administrator] ChangeId '*' is deprecated, please call VixDiskLib_QueryAllocatedBlocks instead. Then an error occurred, causing the VM to shutdown. 2022-10-19T12:01:45.766Z error hostd[2101178] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/5f5f292c-2aa5603e-d599-80615f057c88/HeZhanGuo-DaiLiQianZhiYeWu-30-5-10/HeZhanGuo-DaiLiQianZhiYeWu-30-5-10.vmx] Expected permission (3) for /vmfs/volumes/5f5f295f-0f15ad00-3bb1-80615f057c88/ISO not found in domain 9 2022-10-19T12:01:45.766Z info hostd[2101178] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/5f5f292c-2aa5603e-d599-80615f057c88/HeZhanGuo-DaiLiQianZhiYeWu-30-5-10/HeZhanGuo-DaiLiQianZhiYeWu-30-5-10.vmx] VM is in state VM_STATE_ON 2022-10-19T12:01:47.590Z info hostd[2100624] [Originator@6876 sub=Libs] SOCKET 3 (54) 2022-10-19T12:01:47.590Z info hostd[2100624] [Originator@6876 sub=Libs] recv detected client closed connection 2022-10-19T12:01:47.590Z info hostd[2100624] [Originator@6876 sub=Libs] VigorTransportClientProcessError: Remote disconnected 2022-10-19T12:01:47.590Z info hostd[2100624] [Originator@6876 sub=Libs] VigorTransportDrainRecv: draining read. 2022-10-19T12:01:47.590Z info hostd[2100624] [Originator@6876 sub=Libs] SOCKET 3 (54) 2022-10-19T12:01:47.590Z info hostd[2100624] [Originator@6876 sub=Libs] recv detected client closed connection 2022-10-19T12:01:47.590Z info hostd[2100624] [Originator@6876 sub=Libs] VigorTransportClientProcessError: closing connection. 2022-10-19T12:01:47.590Z info hostd[2100624] [Originator@6876 sub=Libs] VigorTransportClientManageConnection: connection closed; attempting to reconnect in case it is an FSR 2022-10-19T12:01:47.606Z info hostd[2100624] [Originator@6876 sub=Libs] CnxAuthdProtoSecureConnect: Unencrypted connection, skipping thumbprint exchange. 2022-10-19T12:01:47.610Z info hostd[2100624] [Originator@6876 sub=Libs] CnxConnectAuthd: Returning false because CnxAuthdProtoConnect failed 2022-10-19T12:01:47.610Z info hostd[2100624] [Originator@6876 sub=Libs] Cnx_Connect: Returning false because CnxConnectAuthd failed 2022-10-19T12:01:47.610Z info hostd[2100624] [Originator@6876 sub=vm] Cnx_Connect: Error message: There is no VMware process running for config file /vmfs/volumes/5f5f292c-2aa5603e-d599-80615f057c88/HeZhanGuo-DaiLiQianZhiYeWu-30-5-10/HeZhanGuo-DaiLiQianZhiYeWu-30-5-10.vmx 2022-10-19T12:01:47.610Z info hostd[2100624] [Originator@6876 sub=vm] VigorTransportClientManageConnection: VM /vmfs/volumes/5f5f292c-2aa5603e-d599-80615f057c88/HeZhanGuo-DaiLiQianZhiYeWu-30-5-10/HeZhanGuo-DaiLiQianZhiYeWu-30-5-10.vmx does not appear to be running 2022-10-19T12:01:47.612Z info hostd[6851739] [Originator@6876 sub=Libs] VigorOnlineDisconnectCb: connection closed (is final). 2022-10-19T12:01:47.621Z error hostd[2101179] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/5f5f292c-2aa5603e-d599-80615f057c88/HeZhanGuo-DaiLiQianZhiYeWu-30-5-10/HeZhanGuo-DaiLiQianZhiYeWu-30-5-10.vmx] Expected permission (3) for /vmfs/volumes/5f5f295f-0f15ad00-3bb1-80615f057c88/ISO not found in domain 9 2022-10-19T12:01:47.621Z info hostd[2101179] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/5f5f292c-2aa5603e-d599-80615f057c88/HeZhanGuo-DaiLiQianZhiYeWu-30-5-10/HeZhanGuo-DaiLiQianZhiYeWu-30-5-10.vmx] VM is in state VM_STATE_ON 2022-10-19T12:01:47.621Z info hostd[2101179] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/5f5f292c-2aa5603e-d599-80615f057c88/HeZhanGuo-DaiLiQianZhiYeWu-30-5-10/HeZhanGuo-DaiLiQianZhiYeWu-30-5-10.vmx] State Transition (VM_STATE_ON -> VM_STATE_OFF) 2022-10-19T12:01:47.622Z info hostd[2101179] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/5f5f292c-2aa5603e-d599-80615f057c88/HeZhanGuo-DaiLiQianZhiYeWu-30-5-10/HeZhanGuo-DaiLiQianZhiYeWu-30-5-10.vmx] Marking VirtualMachine invalid 2022-10-19T12:01:47.622Z warning hostd[2101179] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/5f5f292c-2aa5603e-d599-80615f057c88/HeZhanGuo-DaiLiQianZhiYeWu-30-5-10/HeZhanGuo-DaiLiQianZhiYeWu-30-5-10.vmx] Failed to find activation record, event user unknown. 2022-10-19T12:01:47.622Z info hostd[2101179] [Originator@6876 sub=Vimsvc.ha-eventmgr] Event 106696 : Issue detected for HeZhanGuo-DaiLiQianZhiYeWu-30-5-10 on yhw1-d in ha-datacenter: Configuration file has unexpected changes. Virtual machine has been terminated. Unregister and re-register virtual machine if the configuration file is correct. 2022-10-19T12:01:47.622Z info hostd[2101179] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/5f5f292c-2aa5603e-d599-80615f057c88/HeZhanGuo-DaiLiQianZhiYeWu-30-5-10/HeZhanGuo-DaiLiQianZhiYeWu-30-5-10.vmx] State Transition (VM_STATE_OFF -> VM_STATE_COMPROMISED) 2022-10-19T12:01:47.678Z warning hostd[2101179] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/5f5f292c-2aa5603e-d599-80615f057c88/HeZhanGuo-DaiLiQianZhiYeWu-30-5-10/HeZhanGuo-DaiLiQianZhiYeWu-30-5-10.vmx] Failed to find activation record, event user unknown. 2022-10-19T12:01:47.678Z info hostd[2101179] [Originator@6876 sub=Vimsvc.ha-eventmgr] Event 106697 : HeZhanGuo-DaiLiQianZhiYeWu-30-5-10 on yhw1-d in ha-datacenter is powered off  What’s the reason and what should I do? 
hi 9527,According to my test, the demo only supports vCenter, and requires “vm” and ”thumb” fields to connect successfully; If ESXi is connected, "appGlobals. vmxSpec!=NULL" in the source code should ... See more...
hi 9527,According to my test, the demo only supports vCenter, and requires “vm” and ”thumb” fields to connect successfully; If ESXi is connected, "appGlobals. vmxSpec!=NULL" in the source code should be removed
me too.Do u solve this problem?
I also encountered this problem. How do you solve it? How to connect the esxi host?
I'm trying to get information about the disk of a virtual machine using the vixDiskLibSample utility. The command looks like this: ./vixDiskLibSample -info -host vmware-vc.vsphere.local -user admini... See more...
I'm trying to get information about the disk of a virtual machine using the vixDiskLibSample utility. The command looks like this: ./vixDiskLibSample -info -host vmware-vc.vsphere.local -user administrator@vsphere.local -password secret -thumb "XX:XX" -libdir /usr/lib/vmware-vix-disklib-distrib/lib64 -vm vmPath=MyDatacenter/vm/vm1-esxi1 "[MyPool] vm1-esxi1/vm1-esxi1.vmdk" I am trying to connect to vCenter. I have rechecked the password, login, FQDN and other data several times and they are exactly correct. I also tried to solve the problem by locating the PEM certificate along the path '/usr/local/share/ca-certificates', but this did not solve the problem. Despite the fact that I rechecked everything several times (the transmitted thumbprint is exactly correct) I keep getting this error: "cannot get thumbprint: SSL error code '151441516', exception: 'Wrong X.509 Certificate format'". Please help me understand what I'm doing wrong, maybe someone has encountered this problem? ESXI 7.0 Update 3; VCenter 7.0.Update 3; VDDK 7.0.3.2.
If I try to call VixDiskLib_Open to a disk that has a path with Chinese characters it cannot find the path. The VDDK only accepts UTF-8 characters, how do I make it open a path that contains Chine... See more...
If I try to call VixDiskLib_Open to a disk that has a path with Chinese characters it cannot find the path. The VDDK only accepts UTF-8 characters, how do I make it open a path that contains Chinese characters? On the documentation I read: "VDDK libraries are not localized, but backup partners can support any locale that uses UTF-8 encoding. Other than Unicode, VDDK does not support multibyte character encodings such as Extended Unix Code (EUC) for Chinese, Japanese, and Korean (ISO- 2022). The path name to a virtual machine and its VMDK can be expressed with any character set supported by the host file system. As of vSphere 4 and Workstation 7, VMware supports Unicode UTF-8 path names, although for portability to various locales, ASCII-only path names are recommended. Windows 2000 systems (and later) use UTF-16 for localized path names. For example, in locale FR (Français) the VDDK sample code might mount disk at C: \ Windows \ Temp \ vmware-Système, where è is encoded as UTF-16 so the VixMntapi library cannot recognize it. In this case, a workaround is to set the tmpDirectory configuration key with an ASCII-only path before program start-up; see Initialize the Library. For programs opening arbitrary path names, Unicode offers a GNU library with C functions iconv_open () to initialize codeset conversion, and iconv () to convert UTF-8 to UTF-16, or UTF-16 to UTF-8. "   So the only solution is to make my customers change their virtual machine paths ? iconv cannot convert EUC to UTF8! In another post i read that: "Internationalization support is planned for a future release of VDDK." (05-19-2008 ) but it's been years. Is there a workaround?
I know the test-000001.vmdk file consists of the difference between the current snapshot and the previous state of the VM. Snapshot file that represents the difference between the current state o... See more...
I know the test-000001.vmdk file consists of the difference between the current snapshot and the previous state of the VM. Snapshot file that represents the difference between the current state of the virtual disk and the state that existed at the time the previous snapshot was taken."   I'm not sure that it is possible to read only the snapshot file.   
I have a VM with a one snapshot. The VM is powered off. When browsing the storage, the file layout looks like this: ---------------------------------------------- test.vmdk - 8 GB test-000001.vmd... See more...
I have a VM with a one snapshot. The VM is powered off. When browsing the storage, the file layout looks like this: ---------------------------------------------- test.vmdk - 8 GB test-000001.vmdk - 200 MB ----------------------------------------------- or via SSH: ---------------------------------------------- test-flat.vmdk - 8 GB test-000001-sesparse.vmdk - 200 MB -----------------------------------------------   By opening the test-000001.vmdk snapshot disk file via VixDiskLib_Open I'm getting the whole (merged?) content of the parent + snapshot disk (=8 GB size).   Can I somehow read only the snapshot file (200 MB)?  
how to install VDDK 7.0 on docker container as it dont have vmware-install file in the tar. What's the approach in installing VDDK7.0 as I got from link   https://vdc-download.vmware.com/vmwb-repos... See more...
how to install VDDK 7.0 on docker container as it dont have vmware-install file in the tar. What's the approach in installing VDDK7.0 as I got from link   https://vdc-download.vmware.com/vmwb-repository/dcr-public/6335f27c-c6e9-4804-95b0-ea9449958403/c7798a8b-4c73-41d9-84e8-db5453de7b17/doc/vddkInstall.4.3.html To Install the package on Linux 1 On the Download page, choose the binary tar.gz for 64-bit Linux. 2 Unpack the archive with tar to create the vmware-vix-disklib-distrib subdirectory. tar xvzf VMware-vix-disklib-*.tar.gz 3 Change to that directory and run the installation script as the superuser: cd vmware-vix-disklib-distrib sudo ./vmware-install.pl  
I found the same issue, And we cannot copy VMDK on Esxi host. Could VMware supporter help to check this issue?
I don't think this is possible any longer. You have to use moRef or reference the vm with the following string: <vmxFile>?dcPath=<dataCenter>&<dataStore> Example: myVmName.vmx?myDatacenterName&my... See more...
I don't think this is possible any longer. You have to use moRef or reference the vm with the following string: <vmxFile>?dcPath=<dataCenter>&<dataStore> Example: myVmName.vmx?myDatacenterName&myDatastoreName. if you want to connect to ESXi directly and not via VCSA use the string "ha-datacenter" for data center name. The VDDK documentation really sucks - sorry!
Hi. I developed a backup tool based on VDDK which works great so far.I choose VixDiskLib_Clone call for backup as it gives the flexibility to have a standard vmdk file as backup result. VDDK 6.7 in... See more...
Hi. I developed a backup tool based on VDDK which works great so far.I choose VixDiskLib_Clone call for backup as it gives the flexibility to have a standard vmdk file as backup result. VDDK 6.7 introduced async read calls which noticeably increase backup speed via NBD transport mode, so the question is does the implementation of VixDiskLib_Clone internally make use of async read calls or is there any way to enable that? This would be great as most of our customers could only make use of NBD and we try to get the most out of it performance wise. If not are there any plans to implement this in future versions of the VDDK? Thanks for any suggestions.
Vddk version used : 7.0.3 As per documentation VixMntapi_OpenDisks opens and creates the disk set handle. Using the following sequence of calls in the VDDK library: Code flow: The cnxParams conta... See more...
Vddk version used : 7.0.3 As per documentation VixMntapi_OpenDisks opens and creates the disk set handle. Using the following sequence of calls in the VDDK library: Code flow: The cnxParams contains details of remote Vcenter with required vmmoref and snapshotmoref 1. VixDiskLib_InitEx 2. VixMntapi_Init 3. VixDiskLib_ConnectEx 4. VixMntapi_OpenDisks -> We are observing that a flat-file representation is being generated here for the remote disk we pass here. If the program terminates post VixMntapi_OpenDisks we observe that we can't access the flat file any further however we can access the flat file if the program continues to run. Is there a way to access the flat-file representation provided that the program is not running?? I have attached the error accessing the flat-file representation if the program terminates.
Hi change the CPU configuration of your VM as below: Edit setting > expand cpu options > Virtualized cpu performance counter
First you need to state which VMware product you are using to try and “play” the VM. You should also mention the host OS, whether this has happened before, if it happens to other VMs or just the one... See more...
First you need to state which VMware product you are using to try and “play” the VM. You should also mention the host OS, whether this has happened before, if it happens to other VMs or just the one you mention, and anything else you have tried to troubleshoot.  
Hi Team, Please help here. When i have play linux virtual machine then we have faced the below mention error.   Error while powering on: Virtualized performance counters require at least one avai... See more...
Hi Team, Please help here. When i have play linux virtual machine then we have faced the below mention error.   Error while powering on: Virtualized performance counters require at least one available functioning counter. Module 'VPMC' power on failed. Failed to start the virtual machine.   please check and confirm the resolution.