VM fails to power on with the following error:
Unable to access file /vmfs/volumes/DatastoreUUID/vmName/vmname-flat.vmdk since it is locked KB 2107795 filePath: /vmfs/volumes/DatastoreUUID/vmName/vmname-flat.vmdk host: HostFQDN,###.###.###.### mac: ['##:##:####:##:##'] id: ######## worldName: vmx lockMode: Exclusive
The MAC address points to one of the ESXi hosts in the environment.
The VM is part of a database cluster of VMs and the VMs were recently moved to a new environment and the drives were re-attached. The VMs have a combination of RDM and non-shared (Dependent) drives.
vSphere 8.0.3
One of the non-shared drives is attached to both VMs. One VM is powered on. The other VM will not power on because the host locks the file on the powered on VM since it is a non-shared (Dependent) drive. The drive is not designed to be shared. The lock prevents usage of the drive on another VM to prevent data corruption.
On the VM that will not power on, perform the following steps: