I have a NFS server on free bsdFreeBSD, when try mount on Linux machine iI have access denied error:
My configuration of server:
/etc/exports:
/etc/rc.conf
Where is my mistake?
Code:
mount -v -t nfs4 192.168.1.10:/mnt/owncloud /tmp/test/
mount.nfs4: timeout set for Sat Sep 3 18:40:49 2016
mount.nfs4: trying text-based options 'addr=192.168.1.10,clientaddr=192.168.1.3'
mount.nfs4: mount(2): Permission denied
mount.nfs4: access denied by server while mounting 192.168.1.10:/mnt/owncloud
My configuration of server:
/etc/exports:
Code:
/mnt/owncloud * (sync,fsid=0,no_root_squash)
/etc/rc.conf
Code:
rpcbind_enable="YES"
mountd_enable="YES"
nfs_server_enable="YES"
nfs_server_flags="-u -t -n 4"
nfsv4_server_enable="YES"
mountd_flags="-r"
Where is my mistake?