While mounting the vSAN file service subfolder/subdirectory using NFS v3 fails with the below error on client:
Error mounting due to NFS 3.0. mount.nfs: access denied by server while mounting
Instances can be found in the below log snippets.
esx.****/scratch/log/vdfs_support/containers/fsvm_logs/containers/esxixxx-fs/ganesha/ganesha.log
2024-06-19T10:49:50Z : epoch 666e6eee : esxirail-fs.xxxx.local : ganesha.nfsd-130[::ffff:192.168.xx.xxx] [svc_1993] 152 :mnt_Mnt :NFS3 :MOUNT: Performance warning: Export entry is not cached
2024-06-19T10:49:50Z : epoch 666e6eee : esxirail-fs.xxxx.local : ganesha.nfsd-130[::ffff:192.168.xx.xxx [svc_1993] 1792 :vfs_lookup_path :FSAL :Could not open directory for path /Vsan-FS/PRE
2024-06-18T09:26:52Z : epoch 666e6eee : esxirail-fs.xxxx.local : ganesha.nfsd-130[::ffff:192.168.xx.xxx] [svc_1864] 138 :mnt_Mnt :NFS3 :MOUNT: Export entry /vsanfs/Vsan-FS does not support NFS v3 for client ::ffff:192.168.xx.xxx
2024-06-18T09:26:52Z : epoch 666e6eee : esxirail-fs.xxxx.local : ganesha.nfsd-130[none] [svc_1846] 0 :rpc :TIRPC :svc_vc_wait: 0x1414f90 fd 1005 recv errno 104 (will set dead)
VMware vSAN 7.0.x
VMware vSAN 8.0.x
vSAN File Services does not support subfolder or subdirectory mount on clients using NFS v3.
vSAN File Services does not support subfolder or subdirectory mount on clients using NFS v3. However, NFS v4.1 can be used as an alternative solution as it supports subfolders or subdirectory mounts with clients.