So I'm having some issues getting my Ubuntu 16.04 machine to successfully mount a FreeBSD export. Initially I was getting a protocol error on the Ubuntu machine which lead me to NFS v4 config with FreeBSD. As I understand it, I need to set a directive in the /etc/exports file for this. Here's my exports file:
Here's my /etc/rc.conf
Now, I can successfully mount the share on the other FreeBSD machine (not surprised there) but I am getting the unhelpful message on my ubuntu machine : mount.nfs: Unknown error 521
Here's the rpc output from the FreeBSD NFS server
Any suggestions are welcome.
Code:
root@firethorn:~ # cat /etc/exports
V4: /
#Berkeley - Ubuntu Linux Machine
/storage -maproot=root 192.168.2.53
#Triglav - FreeBSD Machine
/storage -maproot=root 192.168.2.56
Here's my /etc/rc.conf
Code:
root@firethorn:~ # cat /etc/rc.conf
hostname="firethorn"
ifconfig_dc0="inet 192.168.2.55 netmask 255.255.255.0"
defaultrouter="192.168.2.1"
sshd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
nfs_server_enable="YES"
nfsv4_server_enable="YES"
nfsuserd_enable="YES"
rpcbind_enable="YES"
mountd_flags="-r"
mountd_enable="YES"
Now, I can successfully mount the share on the other FreeBSD machine (not surprised there) but I am getting the unhelpful message on my ubuntu machine : mount.nfs: Unknown error 521
Here's the rpc output from the FreeBSD NFS server
Code:
root@firethorn:~ # rpcinfo -p localhost
program vers proto port service
100000 4 tcp 111 rpcbind
100000 3 tcp 111 rpcbind
100000 2 tcp 111 rpcbind
100000 4 udp 111 rpcbind
100000 3 udp 111 rpcbind
100000 2 udp 111 rpcbind
100000 4 local 111 rpcbind
100000 3 local 111 rpcbind
100000 2 local 111 rpcbind
100005 1 udp 611 mountd
100005 3 udp 611 mountd
100005 1 tcp 611 mountd
100005 3 tcp 611 mountd
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
Any suggestions are welcome.