Hello
I am using FreeBSD 12. I cannot access the NFS share. It gives permission error. But there is no problem with permission.
What could be the problem?
---% server:
---% Ubuntu client
I am using FreeBSD 12. I cannot access the NFS share. It gives permission error. But there is no problem with permission.
What could be the problem?
---% server:
Code:
# freebsd-version
12.1-RELEASE
# cat /etc/rc.conf
nfs_server_enable="YES"
nfs_server_flags="-u -t -n 4"
rpcbind_enable="YES"
mountd_flags="-r"
mountd_enable="YES"
# showmount -e
Exports list on localhost:
/nfsshare 10.151.77.10
---% Ubuntu client
Code:
mount -o vers=2 -t nfs -vvvv 10.151.77.10:/nfsshare /mnt/nfs
---% Error:
mount.nfs: timeout set for Sat Oct 17 14:36:06 2020
mount.nfs: trying text-based options 'vers=2,addr=10.151.77.10'
mount.nfs: prog 100003, trying vers=2, prot=6
mount.nfs: trying 10.151.77.10 prog 100003 vers 2 prot TCP port 2049
mount.nfs: prog 100005, trying vers=1, prot=17
mount.nfs: trying 10.151.77.10 prog 100005 vers 1 prot UDP port 797
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting 10.151.77.10:nfsshare
Last edited by a moderator: