Add Local Storage as a Raw Disk Mapping (RDM) or Mapped RAW LUN to a virtual machine hosted on ESXi

Justin Dowe
Justin Dowe used Ask the Experts™
on
Following this guide and I have question
https://www.experts-exchange.com/articles/9174/HOW-TO-Add-Local-Storage-e-g-a-SATA-disk-as-a-Raw-Disk-Mapping-RDM-or-Mapped-RAW-LUN-to-a-virtual-machine-hosted-on-ESXi.html

There is a local m.2 drive as a datastore called m2
There is a local SSD  Sandisk 32GB I want to use as a LOCAL RDM

I have formatted the m.2 drive as data-store called "m2"
Do I also format the Sandisk 32GB SSD Drvie as a VMFS Datastore and put the vmdk pointer file on the Sandisk drive and map to it?
OR
Do I leave the Sandisk 32GB SSD Drive alone and create a folder on the m2 datastore and put the vmdk pointer file on the m2 folder.  Does that make sense?

Example
1-putting the pointer file on the m2 datastore created a folder mysandisk on the m2datastore
vmkfstools -r  /vmfs/devices/disks/t10.ATA_____SanDisk_SDSSDRC032G_____________________123125400979________ /vmfs/volumes/m2/mysandisk/mysandisk.vmdk

2-formatted sandisk to datastore name sandiskdatastore1 created a folder called mysandisk
vmkfstools -r  /vmfs/devices/disks/t10.ATA_____SanDisk_SDSSDRC032G_____________________123125400979________ /vmfs/volumes/sandiskdatastore1/mysandisk/mysandisk.vmdk
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
Do I leave the Sandisk 32GB SSD Drive alone and create a folder on the m2 datastore and put the vmdk pointer file on the m2 folder.  Does that make sense?

You do the above, do not change anything on the 32GB SSD, and create the pointer on another datastore.

Also note, this is not supported, and a "hack", and does not always work!

Also really depends what you are trying to achieve in terms of performance...

Author

Commented:
Thank you!  Great guide
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
no problems glad you liked it.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial