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

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
Justin DoweAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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...
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Justin DoweAuthor Commented:
Thank you!  Great guide
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
no problems glad you liked it.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.