AllGeneral ITNSXOMVStorage & BackupTrueNASVCFvRealizevSphereVVF Lab
TrueNAS Scale on a Dell R620 — Part 4: Connecting VMware Hosts via NFS

Parts 1 through 3 covered installing TrueNAS Scale on the Dell R620, creating the ZFS pool and NFS share, and tuning ZFS for maximum performance with 384GB of RAM. This part connects the HPE DL380 G9 management host to the NFS datastore through vCenter and validates the connection.

Adding the NFS Datastore in vCenter

Navigate to the HPE host (hpe-mgmt.rmds.uk) in the vCenter inventory, go to the Datastores tab, and open Actions > Storage > New Datastore.

vCenter — Actions > Storage > New Datastore on hpe-mgmt.rmds.uk” class=”wp-image-1050″/><figcaption class=vCenter — Actions > Storage > New Datastore on hpe-mgmt.rmds.uk

Step 1 — Type

New Datastore wizard — NFS selected as the datastore type
New Datastore wizard — NFS selected as the datastore type

Select NFS and click Next.

Step 2 — NFS Version

NFS version selection — NFS 3 default shown
NFS version selection — NFS 3 default shown
NFS 4.1 selected — multipathing support and better performance over NFS 3
NFS 4.1 selected — multipathing support and better performance over NFS 3

Select NFS 4.1. NFS 3 is the default but 4.1 supports multipathing and performs better under parallel access from multiple VMs. The TrueNAS NFS service has NFSv4 enabled so both sides are aligned. Click Next.

Step 3 — Name and Configuration

Name and configuration — datastore name, folder path, and server fields
Name and configuration — datastore name, folder path, and server fields
  • Name: Rr620-nfs-vmware
  • Folder: /mnt/tank/vmware
  • Server: 10.10.10.132 (TrueNAS management IP on the I350 1GbE port)
Name and configuration filled — server 10.10.10.132 added, folder /mnt/tank/vmware
Name and configuration filled — server 10.10.10.132 added, folder /mnt/tank/vmware

One note on the server IP. The TrueNAS R620 has two NIC types — the X520 10GbE on eno1 has the static NFS IP 10.10.48.250, and the I350 1GbE management port is on 10.10.10.132. The HPE G9 management host sits on the 10.10.10.0/24 management network and can only reach 10.10.10.132. For a management host running DC, DNS, SDDC Manager and a handful of VMs, 1GbE is sufficient. The X520 10GbE path is reserved for the R740xd compute hosts on the storage VLAN.

Step 4 — Kerberos Authentication

Kerberos authentication — disabled, no AD integration needed for lab NFS
Kerberos authentication — disabled, no AD integration needed for lab NFS

Leave Kerberos disabled. This is a lab environment and the TrueNAS NFS share uses maproot authentication. Click Next.

Step 5 — Ready to Complete

Ready to complete — NFS 4.1, server 10.10.10.132, folder /mnt/tank/vmware, read-write
Ready to complete — NFS 4.1, server 10.10.10.132, folder /mnt/tank/vmware, read-write

Review confirms NFS 4.1, correct server and folder, read-write access, Kerberos disabled. Click Finish.

Datastore Mounted

hpe-mgmt.rmds.uk Datastores — Rr620-nfs-vmware mounted, NFS 4.1, 8.17 TB
hpe-mgmt.rmds.uk Datastores — Rr620-nfs-vmware mounted, NFS 4.1, 8.17 TB

The datastore appears immediately. NFS 4.1, 8.17 TB capacity. Status shows Unknown initially — resolves to Normal within 30-60 seconds as ESXi completes the NFS handshake.

Fixing Write Permissions

After mounting, creating a folder on the datastore fails. ESXi connects but does not have root write access. The fix is on the TrueNAS side — setting maproot user and group so ESXi’s root user maps through correctly.

TrueNAS NFS Shares — RUNNING, /mnt/tank/vmware, three dots menu
TrueNAS NFS Shares — RUNNING, /mnt/tank/vmware, three dots menu
Edit NFS Share — path /mnt/tank/vmware, basic options
Edit NFS Share — path /mnt/tank/vmware, basic options

Click Advanced Options to expose the access control settings.

Advanced Options — Maproot User and Maproot Group fields visible
Advanced Options — Maproot User and Maproot Group fields visible
  • Maproot User: root
  • Maproot Group: wheel
Maproot User set to root, Maproot Group set to wheel — ESXi write access enabled
Maproot User set to root, Maproot Group set to wheel — ESXi write access enabled

Save. The NFS share now maps ESXi’s root user through as root on TrueNAS, allowing datastore operations — creating folders, uploading ISOs, deploying VMs. No NFS service restart required, the change applies immediately.

What’s Next

The HPE management host is connected to the R620 NFS datastore. Part 5 will cover validating NFS throughput — deploying VMs to the datastore and measuring read/write performance, then connecting the R740xd hosts over the 10GbE storage path.


Infrastructure: Dell PowerEdge R620 (TrueNAS Scale 25.10.4), HPE DL380 G9 (hpe-mgmt.rmds.uk), vCenter 8.0.3 (vc-mgmt.rmds.uk). NFS 4.1 over 1GbE management network.