Hello, looking for info before setting up TrueNAS as a VM in Unraid

Hello, I’ll soon be trying to install an instance of TrueNAS Core as a VM on my Unraid server after I replace some hard drives in it. I understand it’s not the best but I’m just trying it out but I will be using it to backup some stuff for my PCs and things that would be more awkward to get again for my server which I mostly use to host my DVD/BluRay collection.

I’m mostly checking in with people to see what would be the sensible option with the gear I have but also gather some more ideas for projects. My plan is current to have 4-6 cores, 20-24GB and an HBA with 4x4TB drives for the VM. I’m planning on:

  • Setting backup for the Home folder of my main PC using Mint (might be switching OS a couple time, trying different distros in VMs ATM)
  • Backing up some of the shares on my server on a schedule, like VMs, docker config files and image/pdf/videos
  • Remapping a Postgres docker to use TrueNAS to store the database there for two Szurubooru instance (image board engine/website) that I use for images and music clip respectively.

Couple questions I have

  1. How much RAM/CPU cores should I assign to the VM to not starve it nor over provisioning it for the average workload?
  2. Should I assign it it’s own NIC? That wouldn’t be a problem for me part wise because I could put in a X540-T2 (2x10Gbps) but that would require double checking the PCIe lane layout.
  3. I have a 1TB SATA3 SSD, is that worth passing or would it not be relevant much?
  4. How does TrueNAS react to power outage? Unraid I know how it reacts so just want to make sure what to expect with TrueNAS since it’s mostly working in the RAM. I know I should get an UPS but short story waiting to move, I FULLY indent to do when I get a place and know it’s layout.
  5. Somewhat related, my HBA has an external SFF8088 port, are there any small scale disk shelf that exist or they’re all for dozen+ of drives?

Unraid machine specs
Motherboard: Supermicro X10DRI-T
CPUs: Intel Xeon E5-2690 v3
RAM: 4x16GB at 2133MHz per core
HBA: LSI SAS2308-4i4e
GPU: nVidia GTX1650 Super
HDD: Currently 4x4TB+3x8TB, switching the 4x4TB with 2x12TB
SSD: Couple NVMEs on a ASUS HYPER M.2 splitter

Feel free to poke me for more info/clarification and thank you for any help.

(Copy/Pasted from the TrueNAS forums since they have a required moderation approval for new user apparently X X)

That’s just double/triple the management for less reliability and maintenance nightmare. The things you mention are things you run on TrueNAS. You can migrate data from Unraid pool to TrueNAS zfs pool without problems. The entire point of zfs is to make administration easy and have one big pool for everything. I strongly advice to move everything to TrueNAS or leave everything at Unraid.

Depends :slight_smile: More RAM is better, but I wouldn’t go <16GB. 4 cores are a good base for a storage server. I’m running my TrueNAS (storage-only) with 6 cores 12 threads (Ryzen 5900x) with 10Gbit connection and zstd compression on most stuff. It’s plenty.

I have Intel x550 NICs and my TrueNAS VM has one port via passthrough. Runs fine.

If you feel the need of dedicated SSD storage outside your normal pool, go ahead. Otherwise SSDs are great as L2ARC to cache your pool performance, although 1TB might be a bit overkill on a 8-12TB pool.

I tried to sabotage,disrupt and anger TrueNAS and ZFS pools to test these things. Neither of them cared a bit about my efforts. I gave up eventually knowing that I’m in good hands :slight_smile:

SFF8088 is 6Gbit SAS. There are disk enclosures with 4 drives , but they are pretty rare as most people buy 8+ enclosures or use more consumer oriented USB external enclosures. Silverstone has these things, but I can’t share any practical experiences working with them. I’m pretty sure there are a bunch of cheaper small SFF8088 enclosures out there.

edit: SilverStone TS431S INTRODUCTION

1 Like