Hello friends,
I am having a strange issue with a FreeBSD 12.1 KVM guest where I am trying to export a few directories though NFS. Issue is I cannot seem to mount any of the exported folders on my FreeBSD 12 RPI3 due to the following errors:
Situation on the FreeBSD NFS Server
added rpcbind : ALL : allow to default
NFS client can be reached through rcp from the NFS Server
While this is the situation on the RPI3, which is the FreeBSD NFS client
and NFS Server can be resolved through rpc
There is no firewall enabled on neither of the two hosts, and while there is a firewall between the two subnets, I automatically excluded a firewall issue since hosts are both coming through on rcpinfo (perhaps am I wrong?). Also, running rcpbind in debug on the NFS Server reports no issue when trying to mount the export.
Do you guys have any idea of what I am doing wrong here? I checked the configuration twice and I can't seem to figure out where the issue is.
I am having a strange issue with a FreeBSD 12.1 KVM guest where I am trying to export a few directories though NFS. Issue is I cannot seem to mount any of the exported folders on my FreeBSD 12 RPI3 due to the following errors:
Code:
[admin@rpi3fBSD ~]$ sudo mount 192.168.122.63:/usr/obj /usr/obj
[tcp] 192.168.122.63:/usr/obj: RPCPROG_NFS: RPC: Program not registered
OR
[admin@rpi3fBSD ~]$ sudo mount 192.168.122.63:/usr/obj /usr/obj
[tcp] 192.168.122.63:/usr/obj: Permission denied
Situation on the FreeBSD NFS Server
/etc/rc.conf
Code:
# NFS server
rpcbind_enable="YES"
rpcbind_flags="-d"
nfs_server_enable="YES"
mountd_enable="YES"
rpc_lockd_enable="YES"
rpc_statd_enable="YES"
/etc/exports
Code:
/usr/obj -ro 172.12.1.99
added rpcbind : ALL : allow to default
/etc/hosts.allow
config fileNFS client can be reached through rcp from the NFS Server
Code:
[admin@crossdevd ~]$ sudo rpcinfo -p 172.12.1.99
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
[admin@crossdevd ~]$
While this is the situation on the RPI3, which is the FreeBSD NFS client
/etc/rc.conf
Code:
# NFS server
rpcbind_enable="YES"
nfs_client_enable="YES"
rpc_lockd_enable="YES"
rpc_statd_enable="YES"
and NFS Server can be resolved through rpc
Code:
[admin@rpi3fBSD ~]$ sudo rpcinfo -p 192.168.122.63
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
[admin@rpi3fBSD ~]$
There is no firewall enabled on neither of the two hosts, and while there is a firewall between the two subnets, I automatically excluded a firewall issue since hosts are both coming through on rcpinfo (perhaps am I wrong?). Also, running rcpbind in debug on the NFS Server reports no issue when trying to mount the export.
Do you guys have any idea of what I am doing wrong here? I checked the configuration twice and I can't seem to figure out where the issue is.