Failed to add RDM disk for WSFC cluster due to below error.
# vmware.log
YYYY-MM-DDThh:mm:ss.###Z In(05) vmx - AIOGNRC: Failed to open '/vmfs/volumes/#####/#####/#####-rdmp.vmdk' : Failed to lock the file (40003) (0x44003).
VMware vSphere ESXi
VMware vSphere ESX
RDM is not configured for an appropriate scsi controller.
Like below, RDM is attached to a scsi controller with bus sharing none is using normal vmdk as well.
# vmx file
scsi0:0.deviceType = “scsi-hardDisk”
scsi0:0.fileName = “/vmfs/volumes/#####/#####/#####.vmdk”
scsi0:0.present = “TRUE”
scsi0:0.redo = “”
scsi0:1.deviceType = “scsi-hardDisk”
scsi0:1.fileName = “#####_1.vmdk”
scsi0:1.mode = “independent-persistent”
scsi0:1.present = “TRUE”
scsi0:1.redo = “”
scsi0.pciSlotNumber = “160”
scsi0.present = “TRUE”
scsi0.sasWWID = “50 05 05 62 9a 90 99 c0”
scsi0.virtualDev = “lsisas1068”
Configure scsi controller for RDM based on Microsoft Windows Server Failover Clustering (WSFC) with shared disks on VMware vSphere 7.x: Guidelines for supported configurations.