TRINITY logoTRINITYVDI

TRINITY VDI / Documentation / 5. NFS storage

5. Shared storage (NFS)

NFS v4.1 exports for the TRINITY portal cluster and the recording servers, on a Linux NFS server or a Synology NAS, with the rights they need.

Download the packages
Documentation pages

The portal cluster keeps its settings, keys and files on an NFS v4 export (mounted only on the active node), and the recording servers keep the recordings on another one (mounted on both). A single portal needs no share.

Export Clients (read-write) Used by
/export/trinity 10.0.10.33, 10.0.10.34 portal cluster
/export/trinity-rec 10.0.10.27, 10.0.10.28 recording servers

Rules for both: read-write, root not squashed (Synology: Squash: No mapping; NetApp: superuser sys), security sys, synchronous writes. Both folders empty at the start.

5.1 On a Linux NFS server

sudo apt install -y nfs-kernel-server
sudo install -d -m 755 /export/trinity /export/trinity-rec
sudo tee -a /etc/exports >/dev/null <<'EOF'
/export/trinity      10.0.10.33(rw,sync,no_root_squash,no_subtree_check) 10.0.10.34(rw,sync,no_root_squash,no_subtree_check)
/export/trinity-rec  10.0.10.27(rw,sync,no_root_squash,no_subtree_check) 10.0.10.28(rw,sync,no_root_squash,no_subtree_check)
EOF
sudo exportfs -ra && sudo exportfs -v

5.2 On a Synology NAS

Control Panel > File Services > NFS: enable NFS, maximum protocol NFSv4.1. Create a shared folder with the two subfolders; on the shared folder Edit > NFS Permissions > Create, one rule per client address: Read/Write, Squash No mapping, Security sys, Asynchronous No. The mount path is shown at the bottom of the tab (e.g. /volume1/trinity).

5.3 Test from a client

On trinity01 (the same on rs01 for the recordings export):

sudo apt install -y nfs-common
sudo mount -t nfs4 -o vers=4.1 nas01.corp.example.com:/export/trinity /mnt
sudo touch /mnt/.write-test && ls -ln /mnt/.write-test && sudo rm /mnt/.write-test
sudo umount /mnt

Names, addresses and accounts in the examples (corp.example.com, 10.0.x.x, CORP\…) are examples: use your own. TRINITY 1.2.1, December 2026.