NFS subdirectory mounting

ketchup

Cadet
Joined
May 3, 2022
Messages
2
Hello folks. Hope everyone is doing well.

TrueNAS Setup:
Dataset: backup
backup
subdirectories: backup/system1 backup/system2
NFS share/export: /mnt/pool/backup

/etc/exports
:
"/mnt/pool/backup"\
*(sec=sys,rw,anonuid=34,anongid=34,all_squash,no_subtree_check)
-------------------------------------------------------------------------------------------
Client-1, I would like to mount /mnt/pool/backup/system1 subdirectory of the export
Client-2, I would like to mount /mnt/pool/backup/system2 subdirectory of the export

Question: How do I mount a subdirectory of an NFS export instead of the NFS export itself?

Many thanks!
 
Top