?
Solved

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

Posted on 2016-09-06
3
Medium Priority
?
200 Views
Last Modified: 2016-09-06
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
0
Comment
Question by:Justin Dowe
  • 2
3 Comments
 
LVL 125

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 41785668
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
 

Author Comment

by:Justin Dowe
ID: 41785679
Thank you!  Great guide
0
 
LVL 125
ID: 41785746
no problems glad you liked it.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is the biggest problem in managing an exchange environment today? It is the lack of backups, disaster recovery (DR) plan, testing of the DR plan or believing that it won’t happen to us.
The following article sheds light on easy-to-use steps to recover non-responding hard drives without data loss. Count on these approaches to fix undetectable, not responding, or non-working hard drives.
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.
Suggested Courses
Course of the Month4 days, 22 hours left to enroll

601 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question