ACL based NFS share is not working

Qiao Wng

Cadet
Joined
Aug 12, 2022
Messages
3
I followed the official document to add NFS share folder https://www.truenas.com/docs/scale/scaletutorials/shares/nfs/addingnfsshares/
All configuration left default.
But when I tried to mount the folder on another ubuntu server with the root credential:
mount -t nfs -o username=root,password=<mypassword> 192.168.31.6:/mnt/DISK_POOL/media /mnt/media

I got the failure:
mount.nfs: access denied by server while mounting 192.168.31.6:/mnt/DISK_POOL/media

What's the matter here? Could anybody help?
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
NFS protocol doesn't use usernames and password. My guess is that your client is trying to do ops with a IDs that don't have access to the path. If you're mounting as root, then it's probably being squashed to `nobody`.
 
Top