
On VMware vSphere, you can virtualize the "Unraid" NAS solution using only a physical USB key (to which the Unraid license or trial version will be attached).
Before you begin, you'll need to follow steps 1 and 2 of our "Virtualize Unraid 6.9.2 with VMware Workstation 17.5.1" tutorial to create your Unraid USB key, as well as download the "PlopKexec" tool, which you'll need to boot your VMware virtual machine from your Unraid USB key.
Warning : while you can technically virtualize Unraid on VMware vSphere, this is not officially supported by Lime Technology (the company that created Unraid).
To begin, store the PlopKexec ISO file in the datastore corresponding to the VMware ESXi host you wish to use for your Unraid virtual machine.
The Unraid USB key must be plugged into the desired VMware ESXi host.
Important : since you must use a physical USB key for Unraid, your virtual machine cannot be migrated to another host via vMotion (either manually via vMotion or automatically via DRS).
To do this, navigate to the desired datastore, select the desired folder, and then click Upload files.

Select the "plopkexec64.iso" file and click Open.

The ISO file appears in your datastore.

Select the VMware ESXi host where you want to plug in your Unraid USB key and click: Actions -> New Virtual Machine.

Select: Create a virtual machine.

Enter a name for your virtual machine.
In our case: UNRAID v6.9.2.

Leave the host selected by default (as it is the one chosen previously).

Select the datastore where you want to store your Unraid virtual machine.

Leave the default compatibility level.

For guest OS, select:
Indeed, Unraid v6.9.2 uses Linux kernel version 5.10.28.
To find out which Linux kernel version is used by the version of Unraid you wish to use, refer to the "Release Notes | Unraid Docs" page.
On the page that appears, select your version of Unraid and look at the Linux kernel version used in the "Changelog" section of the page.
Note: VMware ESXi 6.7 does not offer an option for "Linux 5.x".
However, if you are using a newer version of VMware ESXi and have the option to choose "Linux 5.x", do so.

The "Customize hardware" step appears.
To use Unraid in the best possible conditions, while respecting its requirements, you will need to configure many settings here.
To do this, follow the rest of this tutorial.

To begin, Unraid requires a processor with at least 4 cores:
Additionally, to virtualize machines on Unraid, you'll need to enable CPU virtualization (Intel VT-x/AMD-V), as well as I/O virtualization (Intel VT-d/AMD IOMMU).
To do this, enable these two settings:

In order to run applications via Docker on Unraid, it is recommended to allocate at least 4 GB of RAM to Unraid.

Next, for the Unraid array, you can use virtual hard drives connected to an IDE controller, a SATA controller, or an NVME controller.
Warning : virtual hard drives connected to a SCSI controller (regardless of the type of SCSI controller used in VMware vSphere) will not be recognized.
Furthermore, for the NVMe controller, Unraid will only recognize one virtual drive per NVMe controller.
For the virtual hard drives you will use for your Unraid array, we recommend using a SATA controller.
Indeed, you can easily connect multiple virtual hard drives to the same SATA controller without any problems in Unraid.
Furthermore, the SATA controller allows you to connect many virtual hard drives (unlike IDE, which is physically limited to four virtual hard drives).
In short, click: Add Device -> SATA Controller.

The new SATA controller appears in the virtual hardware of your Unraid virtual machine.

By default, a virtual hard disk is already present in your virtual machine's virtual hardware.
For this virtual hard disk, configure these settings:
Note: on Unraid, 1 virtual hard disk in the array must be used as a parity disk. The others can be used to store data.

In our case, we'll use three virtual SATA hard drives for our array on Unraid.
This simulates using a RAID 5 with three hard drives, since one hard drive will be used by Unraid for parity.
To do this, double-click: Add Device -> Hard Drive.

The 2 added virtual hard drives appear.

For these 2 new virtual hard disks, specify the same capacity (size) and the same parameters as for the previously configured virtual hard disk:

Currently you have 3 virtual SATA hard drives that you will use for your array on Unraid.

Now, for the Unraid cache, you'll need to use two virtual SSDs.
Indeed, the cache is supposed to be faster, so you'll usually use SSDs for the Unraid cache.
Additionally, you should use at least two disks for the cache, because if you use only one, Unraid will consider the data on it unprotected.
Indeed, if the only disk used for the cache fails, the data would be lost.
Since NVMe connectivity is primarily used for SSDs, we'll use NVMe controllers in VMware vSphere to simulate the use of virtual SSDs.
To do this, add as many NVMe controllers as virtual disks you want to add for the Unraid cache.
In our case: two NVMe controllers.
To do this, double-click: Add Device -> NVMe Controller.
Important : as previously explained, based on our tests, Unraid only recognizes one disk per NVMe controller.
To use two virtual disks in NVMe, you therefore need two NVMe controllers.

2 lines "New NVMe Controller" appear in the virtual hardware of your virtual machine.

Double-click on: Add a device -> Hard disk.

2 new virtual hard disks appear in the virtual hardware of your virtual machine.

For the 1st NVMe virtual SSD, configure these settings:

For the second virtual NVMe SSD, specify the same thing (except for the virtual device node).
This time, select the second option, "New NVMe Controller" (which corresponds to the second NVMe controller, whose ID is "1").
Once you select this second option, "New NVMe Controller," you will see that this virtual disk will be connected to the second NVMe controller, whose ID is 1 (NVME (1:X) New Hard Drive).

VMware 1/13/2023
VMware 8/3/2022
VMware 2/12/2025
VMware 2/21/2024
Pinned content
Contact
® InformatiWeb-Pro.net - InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.
Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.
You must be logged in to post a comment