On attempting to power ON the secondary VM after attaching the shared disk, the below error is observed:
Unable to access file since it is locked filePath: /vmfs/volumes/########-########-####-#############/vm_name/vm_name_#-rdmp.vmdk lockMode: 3 mac: ########-########-####-############# Locking conflict for file "/vmfs/volumes/########-########-####-#############/vm_name/vm_name_#-rdmp.vmdk". VMFS on-disk lock owner is host with MAC address ########-########-####-############# and VMFS lock mode Ox3. File system specific implementation of loctl[file] failed File system specific implementation of OpenFile[file] failed File system specific implementation of OpenFile[file] failed File system specificimplementation of OpenFile[file] failed File system specific implementation of OpenFile[file] failed File system specific implementation of OpenFile[file] failed File system specific implementation of OpenFile[file] failed Failed to lock the file Cannot open the disk '/vmfs/volumes/########-########-####-#############/vm_name/vm_name_#-rdmp.vmdk' or one of the snapshot disks it depends on. Failed topower on scsi0:6. Failed to add disk scsi0:6.Sometimes, immediately after the operation fails, the Guest OS may trigger a kernel panic or a "CPU has been disabled by the guest operating system" event and the node is abruptly rebooted.
When the shared disk is on vSAN datastore, the following error message may be observed on power ON of the secondary VM, even though there is no "*-flat.vmdk" file in the VM folder:
"Unable to access file since it is locked /vmfs/volumes/vsan:###########/##########/vm_name-flat.vmdk"
The primary node remains stable, but the secondary node fails to initialize the shared storage path.
VMware ESX 8.x
VMware ESX 9.0, 9.1.0.0100
VMware vSAN 8.0.3
This issue occurs when a shared disk on the secondary node is incorrectly attached to SCSI Controller 0 (which has bus sharing disabled) and lacks the multi-writer attribute required for simultaneous host access. Because the primary VM already holds an exclusive lock on the disk, the secondary VM's attempt to mount it without the multi-writer flag triggers a fatal locking error, often resulting in a Guest OS CPU halt and system reboot to prevent data corruption.
Analysis of the logs confirms the sequence of events leading to the crash.
vmware.log of the secondary vm shows that the shared disk was added via scsi0:x. Immediately following the attachment, the log reports an inability to lock the file.
2026-01-22T22:33:56.514Z In(05) vmx mkiovdc4-2859715-auto-1pakk-h5:70######-##-##-##-#### HotAdd: Adding scsi-hardDisk with mode 'independent-persistent' to scsi0:x2026-01-22T22:33:56.514Z In(05) vmx mkiovdc4-2859715-auto-1pakk-h5:70######-##-##-##-#### DISK: OPEN scsi0:x '/vmfs/volumes/########-########-####-#############/vm_name/vm_name.vmdk' independent-persistent R[]2026-01-22T22:34:00.523Z In(05) vmx mkiovdc4-2859715-auto-1pakk-h5:70######-##-##-##-#### AIOGNRC: Failed to open '/vmfs/volumes/########-########-####-#############/vm_name/vm_name_#-rdmp.vmdk' : Failed to lock the file (40003) (0x42003).2026-01-22T22:34:00.523Z In(05) vmx mkiovdc4-2859715-auto-1pakk-h5:70######-##-##-##-#### AIOMGR: AIOMgr_OpenWithRetry: Descriptor file '/vmfs/volumes/########-########-####-#############/vm_name/vm_name_#-rdmp.vmdk' locked (try 0)2026-01-22T22:34:25.188Z In(05) vcpu-0 - Vix: [vmxCommands.c:7175]: VMAutomation_HandleCLIHLTEvent. Do nothing.2026-01-22T22:34:25.188Z In(05) vcpu-0 - MsgHint: msg.monitorevent.halt2026-01-22T22:34:25.188Z In(05)+ vcpu-0 - The CPU has been disabled by the guest operating system. Power off or reset the virtual machine.
The log entry "CPU has been disabled by the guest operating system" indicates that the Linux kernel executed CLI and HLT instructions, intentionally halting the CPU because it could not safely access the required storageESXi host hostd.log file reveals explicit lock conflict events were recorded. The logs identify that the lock was currently held by the ESXi host where the primary node was residing.
2026-01-22T22:34:22.085Z Db(167) Hostd[2103529]: --> Cannot open the disk '/vmfs/volumes/########-########-####-#############/vm_name/vm_name.vmdk' or one of the snapshot disks it depends on.2026-01-22T22:34:22.085Z Db(167) Hostd[2103529]: --> Failed to lock the file2026-01-22T22:34:22.085Z Db(167) Hostd[2103529]: --> File system specific implementation of OpenFile[file] failed2026-01-22T22:34:22.085Z Db(167) Hostd[2103529]: --> File system specific implementation of OpenFile[file] failed2026-01-22T22:34:22.085Z Db(167) Hostd[2103529]: --> File system specific implementation of OpenFile[file] failed2026-01-22T22:34:22.085Z Db(167) Hostd[2103529]: --> Locking conflict for file "/vmfs/volumes/########-########-####-#############/vm_name/vm_name-rdmp.vmdk". VMFS on-disk lock owner is host with MAC address 6#######-########-####-############ and VMFS lock mode 0x3.esxcfg-nics -lTo resolve the file locking conflicts and ensure cluster stability, shared disks must be properly attached to a dedicated SCSI controller with the correct sharing attributes.
Follow these steps to reconfigure the shared storage for the affected virtual machines:
Power off the virtual machines
Safely shut down and power off both the primary and secondary VMs in the cluster.
Add a dedicated SCSI Controller
Edit the settings of both VMs to add a new SCSI controller (e.g., SCSI controller 1).
Set the SCSI Bus Sharing attribute to Physical on both nodes.
Reconfigure the shared disks on the Primary VM
Edit the settings of the primary VM.
Locate the shared disks and change their Virtual Device Node to the newly created SCSI controller (SCSI controller 1).
Under the disk properties, set the Sharing attribute to Multi-writer.
Attach the shared disks to the Secondary VM
Edit the settings of the secondary VM
Select Add New Device > Existing Hard Disk.
Browse the datastore and add the corresponding shared VMDK files.
Verify that the Virtual Device Node for these newly added disks is set to the matching SCSI controller (SCSI controller 1).
Verify that the Sharing attribute is set to Multi-writer.
Power on the virtual machines
Power on both virtual machines. The VMs should now boot successfully without file locking conflicts or unexpected reboots.