Redirecting ...

Please wait.

You are being redirected to the destination address ...

  • Login
  • Register
Login
Username/Email:
Password: Lost Password?
 
rusty ox
  • Home
  • Search
  • Help
    • Login
    • Register
    Login
    Username/Email:
    Password: Lost Password?
     
Swavesey › Swavesey › Rusty Ox v
« Previous 1 2 3 4 5 6 Next »
› Step by step to passthrough SSD drives directly on VMWare EXSi 7 as RDMs

17% OFF, iiyama ProLite XUB2493HSU-B1 24 1920x1080 4ms VGA HDMI DisplayPort LED Monitor £136.17@BT Shop

2
vmware_esxi-1.PNG
Step by step to passthrough SSD drives directly on VMWare EXSi 7 as RDMs
RustyOx Offline
Super Moderator
Posts: 360
Threads: 280
Joined: Apr 2021
Reputation: 0
Points: 6,004.87
#1
09-09-2021, 09:17 AM (This post was last modified: 25-09-2021, 10:36 AM by RustyOx.)
In this example, I am going to show you how to passthrough the Samsung EVO 840 SSD driver to ESXi 7.0 Update 2 via RDM(raw disk mapping ).

I have 3 SSD in the setup, Crucial MX500 1TB, Samsung 830 EVO 256GB and Samsung 840 EVO 250GB. The 1TB SSD is the main storage and hold the VPS for FreeNas 11.2 (Yes, I know the newer FreeNas 11.3 and TrueNas 12 are arleady available). Some of the photo are from EVO 830 and some of the screenshots are from EVO 840.


If you already read documents from other sources, here is the key notes to make it success.
  • Make sure the target disk is not shown in storage, otherwise the mapping will failed.

.png   target_passthrough_disk_should_not_shown_in_storage-1.png (Size: 14.78 KB / Downloads: 38)

Unmount the storage if it is already appeared in storage pane.
  • You need another disk place to store the RDM mapping link (will explain it later)
In this example, I am going to map raw disk Samsung EVO 840, but the vmdk link is saving in the SDD Crucial MX500 1TB SSD.

Detailed instructions are in the next post due to limitation of 5 attachments in each post.
Find
Reply

AD:10% OFF, Boots NicAssist Minty Fresh 2 mg Gum - 4 x 105 Pieces Bundle £25.92@Boots

RustyOx Offline
Super Moderator
Posts: 360
Threads: 280
Joined: Apr 2021
Reputation: 0
Points: 6,004.87
#2
09-09-2021, 09:23 AM (This post was last modified: 25-09-2021, 10:40 AM by RustyOx.)
Step 1, ssh to the ESXi server

   
by default, ssh is not enabled, so enable and start the service, then use putty to connect to the ESXi server.


Step 2, create mapping link
  • get the disk id using "ls -l /vmfs/devices/disks"
Code:
ls -l /vmfs/devices/disks

   
  • creat vmdk link to the target ssd
Code:
vmkfstools -z /vmfs/devices/disks/t10.ATA_____Samsung_SSD_840_EVO_250GB_______________S1DBNSBF442715E_____ /vmfs/volumes/ssd1tb/vdisks/ss840_rdm_1.vmdk
vmkfstools -z /vmfs/devices/disks/t10.ATA_____SAMSUNG_SSD_830_Series__________________S0Z4NEAC801058______ /vmfs/volumes/ssd1tb/vdisks/ss830_rdm_1.vmdk

   

I am creating the vmdk link to the physical drive 840 EVO and Samsung 830 EVO on ssd1tb which is another SSD already in my system.
If you create the vmdk on the target physical drive, it will failed in the later step "adding existing hdd" with errors like ""Incompatible device backing specified for device 5".

Step 3 Add new SCSI controller
   
   
You may need to change the "Disk Compatibility" from Physical to Virtual, then you can change the "Disk Mode" to "Independent - persistent".  It is a raw mapped physical disk, so snapshots is not supported. This step is mentioned by others, but I don’t think it is necessary, as “independent - persistent “ should not apply to physical disks.
Find
Reply
RustyOx Offline
Super Moderator
Posts: 360
Threads: 280
Joined: Apr 2021
Reputation: 0
Points: 6,004.87
#3
09-09-2021, 09:29 AM (This post was last modified: 09-09-2021, 09:45 AM by RustyOx.)
Step 4 Add the HDD with the created vmdk link
  • Click add hard disk -> existing hard disk
   

Select the vmdk link

   


   
You may need to change the "Disk Compatibility" from Physical to Virtual, then you can change the "Disk Mode" to "Independent - persistent".  It is a raw mapped physical disk, so snapshots is not supported.

   





Reference: https://gist.github.com/Hengjie/15201148...7af4b3a064
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version

20% OFF, RockJam 61 Key Keyboard Piano with Pitch Bend, Power Supply, Sheet Music Stand, ... £56.03@Amazon UK

Share Page
  • Contact Us
  • Return to Top
  • Portal
  • About Us
Top
Linear Mode
Threaded Mode