Configuring TrueNAS NFS Share for XCP-ng [YouTube Release]

Additional Resources:

XCP-ng Networking Explained

iSCSI VS NFS

ZFS is a COW

Connecting With Us

Lawrence Systems Shirts and Swag

β–ΊπŸ‘• Lawrence Systems

AFFILIATES & REFERRAL LINKS

Amazon Affiliate Store
:shopping_cart: Lawrence Systems's Amazon Page

UniFi Affiliate Link
:shopping_cart: Ubiquiti Store

All Of Our Affiliates that help us out and can get you discounts!
:shopping_cart: Partners We Love – Lawrence Systems

Gear we use on Kit
:shopping_cart: Kit

Use OfferCode LTSERVICES to get 10% off your order at
:shopping_cart: Tech Supply Direct - Premium Refurbished Servers & Workstations at Unbeatable Prices

Digital Ocean Offer Code
:shopping_cart: DigitalOcean: AI-Powered Unified Inference Cloud Infrastructure

HostiFi UniFi Cloud Hosting Service
:shopping_cart: HostiFi - Fast and Reliable UniFi in the Cloud

Protect you privacy with a VPN from Private Internet Access
:shopping_cart: https://www.privateinternetaccess.com/pages/buy-vpn/LRNSYS

Patreon
:money_bag: https://www.patreon.com/lawrencesystems

Chapters
00:00 TrueNAS NFS Share for XCP-ng
01:49 Creating Dataset, Permissions and NFS Share
03:00 Add NFS Shared Storage in XCP-ng
03:45 ZFS and SYNC risks
06:14 NFS and IP Security
07:02 Speed Difference with SYNC
08:44 NFS and Dedicated Storage Network

I was looking at setting up a new XCP-NG server to replace the jails on my truenas core system for my home network setup, and was looking at NFS performance settings. One thing I saw was on the clients, you can add a cache to NFS using fs-cache.

Do you have experience using NFS in that configuration, and would you recommend it for a production environment? If so, would you recommend a dedicated cache drive? Does it offer any significant performance improvements for repetitive reads? From the documentation, I’m also not clear if there is any write performance gains by using the client side cache using NFSv4.