# vmkfstools -z /vmfs/devices/disks/t10.ATA_HGST_HDN726050ALE610_NAG4P4YX_ "/vmfs/volumes/Samsung 850 Pro/Ubuntu Storage/HGST_RDM_1.vmdk" There will be other listings here of datastores, and virtual disks that is not relevant. Here I have a HGST 5TB disk attached to SATA that I'm trying to passthrough to my VM. You can determined the name/path by going to the web console then Storage, then Device, click on the device you're setting up as RDM, and then copying the path. As mentioned in the comments, it may not necessarily start with t10. We care about the physical disks with the prefix t10. Run this command to list the disks that are attached to the ESXi host:.Click on Actions > Services > Enable Secure Shell (SSH). In EXSI's web interface, log in, go to the home page. In my example, I have a virtual machine and virtual disk both conveniently named Ubuntu Storage RDMs on EXSI 6.5 have to be created in the command line.īefore you get started, make sure you've got a VM setup, and running. RDM aka Raw Device Mapper is a pointer file that acts like a virtual disk but instead maps directly to a physical disk.In other words Physical Disk > Datastore > Virtual Disks > Your filesystem e.g. Virtual disks are what a virtual machine will stores files on.
A datastore can max the storage of a physical disk, or not.
I have not personally tried it yet, but the comments below have confirmed it works.
There is now an option while editing your VM's settings to add a New raw disk when you click Add hard disk. This tutorial is partially based on VMWare's own KB and the now deprecated Forza IT blog post.
This tutorial shows you how to pass SATA HDDs to the virtual machine on VMWare ESXI 6.5. You used to be able to setup RDMs in the desktop client, but with the introduction of the web console, this is no longer the case. In v6.5, the web app was introduced and the desktop client was deprecated. There aren't many tutorials about this, the only tutorials I've found were about passing through entire PCIe cards to VMs, or refered to old ESXI versions (below 6.5) that used a more comprehensive desktop client instead of the web app. How to passthrough SATA drives directly on VMWare EXSI 6.5 as RDMs