Add RAW Device Mapping in VMware
Raw Device Mapping (RDM) is one way to pass a raw disk device directly through from the disk controller to the SoftNAS® VM in VMware. Older VMware documentation indicates RDM is not supported by locally-attached devices, which is no longer the case; however, like many things in VMware administration, local RDM devices must be configured partially using command line tools.
Use an RDM for direct SSD access, especially for write logs, in order to improve synchronous write speeds (especially for small block synchronous writes like 4K blocks used by VMware and many databases). Normally VMFS works great for creating storage VMDKs for SoftNAS, but for small block sync writes, the VMFS 1 MB block size gets in the way. RDM provides the SoftNAS® VM with direct access to the raw SSD SCSI interface, providing the fastest possible write log.
Configuring Raw Device Mapping (RDM) in VMware
In this case, we have the following shown on the right.
vmkfstools -z /vmfs/devices/disks/<diskname> /vmfs/volumes/<datastorename>/<vmfolder>/<vmname>.vmdk*