New to TrueNAS. Setting up a NFS server for XCP-ng/Xenserver

Forza

Explorer
Joined
Apr 28, 2021
Messages
81
Hi!

First of all, I am new to TrueNAS and FreeBSD+ZFS, but I have used Linux and Btrfs extensively in the past.

I am looking to to test TrueNAS as a NFS server hosting VM images used by XCP-ng (Xenserver).

The setup I have available is:
  • Core i7-8200 6/12 core
  • 16GiB RAM
  • 2x10TB HDD
  • 2x1TB SSD
  • 1x 256GB NVME
  • 2x1Gbit network (LACP)
Primary usage = Live VDI storage over NFS (low write traffic)
Sencondary usage = VM Backups (made by xcp-ng/Xen Orchestra)

What would be the best setup here? My initial idea was to make a 2x1TB mirror (VDI storage) + 2xs10TB mirror (Backups/snaps)
I did try to search and read the docs before writing here, but some concepts are new. For example using LOG disks with HDDs to improve performance, but I didn't quite understand the requirements and implications for that.

On Linux NFS servers there are 'sync' and 'async' export options. I would normally use sync to ensure reliability in case of crash or power outage (There is an UPS though), but can't find something equivalent in TrueNAS.

I'd really appreciate any feedback on my setup.

Thanks.
 

Forza

Explorer
Joined
Apr 28, 2021
Messages
81
Any thoughts on this? I'm leaning towards keeping it simple and just do two pools with ssd mirror in one and hdd mirror in the other. The HDD's would be for backups and ssd for running VMs.

Does anyone use TrueNAS/FreeNAS with xcp-ng?
 

dpearcefl

Contributor
Joined
Aug 4, 2015
Messages
145
I would like an answer to this question. Anyone?
 
Top