Symptoms
Unable to attach RDM disk to the virtual machine in the vSphere 6.5.
Purpose
Create an RDM disk from the command line and attach to the virtual machine.
Cause
There is no option to add RDM disk in the vSphere host UI client.
Resolution
This is a known issue affecting ESXi 6.5.
This issue is resolved in VMware ESXi 6.5, Patch Release ESXi650-201703001. For more information, see VMware ESXi 6.5, Patch Release ESXi650-201703001 (2148989).
If you are unable to upgrade you can workaround the issue, perform the steps:
Create RDM disk from command line using the vmkfstools command. For more information, see Creating Raw Device Maps from the command line using the vmkfstools command (2046370).Use the host client to attach RDM disk to virtual machine using the Existing hard disk:
Right-click a virtual machine in the inventory and select Edit Settings.On the Virtual Hardware tab, select Existing Hard Disk from the New device drop-down menu and click Add.In the Datastores column, expand the datastore.Select a virtual machine folder and select the disk to add. The disk file appears in the Contents column. The File Type drop-down menu shows the compatibility file types for this disk.Click OK.
Related Information
Creating Raw Device Maps from the command line using the vmkfstools commandVMware ESXi 6.5, Patch Release ESXi650-201703001无法在 vSphere 6.5 主机 UI 客户端中将 RDM 附加到虚拟机中