Reconfiguring TrueNAS to use as a virtual machine on VmWare

FloRho

Cadet
Joined
Feb 2, 2021
Messages
6
Hi,
I need to reconfigure my existing server. Currently TrueNAS Core is running on this server, installed on redundant flash and using two 10TB SATA hard discs in HBA mode. Now I need to install ESXi on this server who has a PERC controller. My biggest concern is how to move TrueNAS to the new configuration.

I will add two additional SSDs (RAID-1) for different virtual machines and True NAS. The two 10Gb SATA hard disks should stay unattended (except I need to change the RAID mode from HBA to RAID) and I want to attach them to TrueNAS after installing TrueNAS as virtual machine and imported its configuration.

My concerns:
  • Is it possible to change the RAID controller from HBA to RAID without loosing the data of the existing two discs?
  • Can I add the two discs to the virtual machine and will TrueNAS identify them correctly?
  • I run different jails in TrueNAS, will they survive the migration?
Has someone already did such an operation, an can give me some advices?

Thanks,
Florian
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
All covered here:


Perhaps more importantly. this too:
 

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
Currently TrueNAS Core is running on this server, installed on redundant flash and using two 10TB SATA hard discs in HBA mode. Now I need to install ESXi on this server who has a PERC controller. My biggest concern is how to move TrueNAS to the new configuration.

Looking for a couple bits of detail here:

1. Can you provide some details about the redundant flash in the R340 server? Are these SSDs in the front bays, redundant M.2 on a BOSS-S1, or redundant flash in the IDSDM?

2. What model is your PERC? The H730p will use the mrsas driver in HBA mode I believe, which is presently "not ideal but workable" to my understanding - the H330 should be crossflashed into an HBA330 for passthrough duties if it will be the TrueNAS controller.

The key component that is necessary for a stable/supported virtual TrueNAS is the use of PCIe passthrough (VT-d/IOMMU) for the HBA (and it will need to stay as an HBA) - how we can best accomplish this depends on the answer to question 1 above, because you still need storage that VMware will recognize as usable for a VMFS partition.

Basically the ideal situation is if you are using the BOSS-S1 with M.2 drives, as this is both a separate controller (for PCIe passthrough) and capable of being used as a VMFS datastore. Using the front bays means you'll need a second storage controller (one for vSphere, one for TrueNAS) and the IDSDM isn't going to support a VMFS partition.
 
Top