Residual virtual machine files (.vmdk, .vmx) remain locked on a datastore following a virtual machine crash or improper host shutdown.
vmfsfilelockinfo reports an "Exclusive" lock holder, but lsof or ps on that host return no active processes.vmkernel.log contains corruption errors:naa.####:1 has been detected corruptedINTERNAL TARGET FAILURE (0x44 0x0)DID_ABORT (H:0x5)Stale VMFS heartbeat locks occur due to metadata corruption on the physical datastore. A mismatch in the affinity bitmap prevents the ESXi host from releasing the file lock naturally, orphaning the lock despite the absence of an active process. This is frequently exacerbated by hardware failures (e.g., IO module faults) that interfere with metadata write-dependencies.
INTERNAL TARGET FAILURE and DID_ABORT logs. This suggests issues like VMAX IO module failures or fabric/zoning misconfigurations.To clear stale metadata locks, use the VMware On-disk Metadata Analyzer (VOMA) in advfix mode.
Warning: Running VOMA with the fix flag is a destructive operation that directly modifies metadata. To prevent data loss or further corruption, you must follow the safety protocol below.
naa.####:1).advfix mode on the production device: voma -m vmfs -f advfix -a -d /vmfs/devices/disks/naa.####:1Found stale lock [Cleared].