This article provides steps to troubleshoot non-cloud-managed VMs which appear as a file path (ds:///vmfs/volumes/datastore/vm_name) instead of the VM name.
For cloud-managed environments, see "ds:///vmfs/volumes/datastore/vm_name" name appears for cloud-managed virtual machines
Symptoms:
VMware vCenter Server 6.5.x
VMware vCenter Server 6.7.x
VMware vCenter Server 7.x
VMware vCenter Server 8.x
VMware vSphere ESXi 6.5.x
VMware vSphere ESXi 6.7.x
VMware vSphere ESXi 7.x
VMware vSphere ESXi 8.x
The issue occurs where the ESXi host is unable to locate the guest VM's files. Possible causes include:
If unable to power on VM, error states not able to lock the file, along with file open error (failed to open (Invalid argument): ObjLib_Open failed Type 3)this is not a typical lock but a corruption in flat.vmdk
While trying to power on the VM, following errors are reported.
In(05) worker-31882256 - FILE:open error on /vmfs/volumes/Datastore/<VMNAME>/<VMNAME>-flat.vmdk: Invalid argumentIn(05) worker-31882256 - AIOGNRC: Failed to open '/vmfs/volumes/Datastore/<VMNAME>/<VMNAME>-flat.vmdk' : Invalid argument (160002) (0x42001).In(05) worker-31882256 - OBJLIB-FILEBE : FileBEOpen: can't open '/vmfs/volumes/Datastore/<VMNAME>/<VMNAME>-flat.vmdk' : Invalid argument (1441796).In(05) worker-31882256 - DISKLIB-VMFS : "/vmfs/volumes/Datastore/<VMNAME>/<VMNAME>-flat.vmdk" : failed to open (Invalid argument): ObjLib_Open failed. Type 3
To resolve the issue, follow the steps below: