Unraid in ESXi v6.7-U3


Recommended Posts

Just wanted to share my recent experience migrating from physical server to ESXi for unraid.

It took me quite significant time gathering and reading tips/documents on the internet before making the move.

My hesitation was whether unraid really need "hw-passthrough" or "disk RDM" is sufficient.

 

From what I have experienced .. as long your CPU support virtualization then it is enough to jump on the virtualization wagon.

I hope this will help others that wanted to move to ESXi and does not want to upgrade their Motherboard to passthrough/iommu capable.

 

Physical setup:

Unraid v6.8.1

  • Motherboard M5A78L-M-PLUS-USB3
  • CPU AMD FX8320E
  • LSI 9207-8i [in hba/IT mode]
  • 1x SSD for cache disk
  • 7x HDD
  • Powersupply 380W
  • unraid license on 4GB usb stick

 

New ESXi setup:

ESXi v6.7-U3 - reuse all the hw from above

  • Motherboard M5A78L-M-PLUS-USB3
  • have to add Realtek ethernet driver [https://vibsdepot.v-front.de/wiki/index.php/List_of_currently_available_ESXi_packages]
  • I cannot passthru LSI 9207-8i as the motherboard does not support iommu
  • Verify that in unraid vm settings, SCSI Controller 0 = "VMware Paravirtual" - this is important so the HDD Serial Number can be passthru to unraid (otherwise you will need to rebuilt your parity disk)
  • 7x HDD connect to LSI 9207-81 and configure them as RDM directly from ESXi

             a. esxi > VM > Edit Settings > Add harddisk > New Raw disk >

             b. on the "Hard disk" setting .. configure: Controller location = "SCSI Controller 0" and Disk Compatibility = Physical and Disk Mode = "Independent - persistent"

  • for the Cache drive - SSD, I connect it to the motherboard SATA port. There is a known issue with LSI 9207-8i not supporting TRIM (unless LSI downgraded to fw P16).

             use this link to passthrough the indvidual SSD drive to unraid as RDM - [https://gist.github.com/Hengjie/1520114890bebe8f805d337af4b3a064].

             I cannot use the method i use for the HDD.

         extract the tar and copy the iso to your ESXi datastore.

  • back to the VM edit settings > CD/DVD Drive 1 > Datastore ISO file > CD/DVD Media = plopkexec64.iso
  • also set your VM to boot to BIOS and change the boot device to CD/DVD
  • passthrough your unraid usb stick by adding a new USB device
  • download unraid specific vmwaretool from appspace "openVMTools_compiled" after you have successfully boot your unraid

 

Result:

  1. after reboot, plopkexec will auto search for usb device and boot from it
  2. if you use SCSI Paravirtual, the disks will reallign as the serial numbers got passthru as-is as before
  3. remember to install "openVMTools_compiled"
  4. upgraded unraid to v6.8.2 and it finished successfully
  5. on unraid Main page, SMART and spin up/down are reflected correctly. 

 

I am glad I made the change to ESXi .. a better use of the FX8320 cpu :)

 

==== Some screenshot of the configuration ====

HDD RDM and SCSI controller setting:

image.png.e330511666a1c4fdd1f354960aa1de22.png

 

SSD rdm:

image.png.de547f0442c39d4afa09c750275aa31e.png

 

Plopkexec and USB stick passthru:

image.png.a2fbf56ce2ed62fe034958ad485130d3.png

 

Unraid dashboard:

image.png.6e4ebcb938313934a11952cea379cf97.png

 

Disk spun down:

image.png.65f6c4f48ee838b8e10ba04cd4ce608d.png

 

Disk spun up:

image.png.fb5763acba86f6cacb99a95725d94f2b.png

 

Temp work for the HDD on LSI:

image.png.0c17a021b6d4412c92df9e978000852c.png

 

Though Temp is not working for cache SSD that passthrough via MB sata port:

image.png.ca519d3ea3aa104856c98e37df6efb34.png

 

 

 

 

 

 

 

 

 

 

image.png

image.png

image.png

image.png

image.png

Edited by ez2002
add screenshots
  • Like 1
  • Thanks 3
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.