I am trying to mount an NFS share from 10.1-RELEASE x86 on an ubuntu 14.04.1 LTS x86 client. I keep getting access denied.
FreeBSD machine setup (as root)-
Ubuntu machine-
Thanks for any help,
-bg
sudo mount -t nfs4 10.0.1.43:/testshare /home/ubuntu/uploads
Code:
mount.nfs4: access denied by server while mounting 10.0.1.43:/testshare
FreeBSD machine setup (as root)-
mkdir /testshare
chmod -R 777 /testshare cat /etc/rc.conf
Code:
sshd_enable="YES"
rpcbind_enable="YES"
nfs_server_enable="YES"
mountd_flags="-r"
nfsv4_server_enable="YES"
nfsuserd_enable="YES"
rpc_lockd_enable="YES"
rpc_statd_enable="YES"
cat /etc/exports
Code:
/testshare -alldirs -maproot=root
Ubuntu machine-
sudo apt-get install nfs-common rpcbind -y
sudo mount -t nfs4 10.0.1.43:/testshare /home/ubuntu/uploads
Code:
mount.nfs4: access denied by server while mounting 10.0.1.43:/testshare
nc -zv 10.0.1.43 111
Code:
Connection to 10.0.1.43 111 port [tcp/sunrpc] succeeded!
rpcinfo -p 10.0.1.43
Code:
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100000 4 7 111 portmapper
100000 3 7 111 portmapper
100000 2 7 111 portmapper
100005 1 udp 1007 mountd
100005 3 udp 1007 mountd
100005 1 tcp 1007 mountd
100005 3 tcp 1007 mountd
100024 1 udp 887 status
100024 1 tcp 887 status
100021 0 udp 994 nlockmgr
100021 0 tcp 663 nlockmgr
100021 1 udp 994 nlockmgr
100021 1 tcp 663 nlockmgr
100021 3 udp 994 nlockmgr
100021 3 tcp 663 nlockmgr
100021 4 udp 994 nlockmgr
100021 4 tcp 663 nlockmgr
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
Thanks for any help,
-bg