NFS timeout on one machine while other machine connects without a problem

Status
Not open for further replies.

rolonl

Cadet
Joined
Sep 16, 2018
Messages
3
I have an NFS share I use for persistant storage of rancherOS (docker) and I have two nodes running rancherOS that I want to mount this share. One node is a VM (created with the FreeNAS GUI by choosing a docker VM) and one node is a separate machine with rancherOS running bare metal.

IP's, hostnames and FQDN:
FreeNAS: 192.168.1.1 - data - data.ad.tld
rancherOS1 (VM) 192.168.1.2 - docker docker.ad.tld
rancherOS 2 (Bare) 192.168.1.4 - docker2 docker.ad.tld

I can ping every machine from every other machine by ip, hostname and FQDN.

The problem is that only the first (VM) machine is able to mount an NFS share from FreeNAS, the other machine gives a timeout. Both machines should have access according to the share settings.

Am I missing something? See the freenas-debug -N output below:


# freenas-debug -N
+--------------------------------------------------------------------------------+
+ FreeNAS-11.2-RC1 (c831a6a98) @ +
+--------------------------------------------------------------------------------+
Operating system type: FreeBSD
Operating system release: 11.2-STABLE
Operating system revision: 199506
Kernel version: FreeBSD 11.2-STABLE #0 r325575+97f4f541349(freenas/11.2-stable): Wed Oct 17 18:06:49 EDT 2018
root@nemesis.tn.ixsystems.com:/freenas-11.2-releng/freenas/_BE/objs/freenas-11.2-releng/freenas/_BE/os/sys/FreeNAS.amd64
Hostname: data.ad.x.tld
Name of kernel file booted: /boot/kernel/kernel
debug finished in 0 seconds for FreeNAS-11.2-RC1 (c831a6a98)


+--------------------------------------------------------------------------------+
+ NFS Boot Status @ +
+--------------------------------------------------------------------------------+
NFS will start on boot.
debug finished in 0 seconds for NFS Boot Status


+--------------------------------------------------------------------------------+
+ NFS Run Status @ +
+--------------------------------------------------------------------------------+
nfsd is running as pid 2165 2166.
debug finished in 0 seconds for NFS Run Status


+--------------------------------------------------------------------------------+
+ /etc/hosts @ +
+--------------------------------------------------------------------------------+
::1 localhost localhost.my.domain
127.0.0.1 localhost localhost.my.domain
192.168.1.2 docker.ad.x.tld docker
192.168.1.4 docker2.ad.x.tld docker2
127.0.0.1 data.ad.x.tld data
::1 data.ad.x.tld data
debug finished in 0 seconds for /etc/hosts


+--------------------------------------------------------------------------------+
+ /etc/exports @ +
+--------------------------------------------------------------------------------+
V4: / -sec=sys
/mnt/Storage/VM/docker -alldirs -mapall="root":"wheel"
debug finished in 0 seconds for /etc/exports


+--------------------------------------------------------------------------------+
+ showmount -e @ +
+--------------------------------------------------------------------------------+
Exports list on localhost:
/mnt/Storage/VM/docker Everyone
debug finished in 0 seconds for showmount -e


+--------------------------------------------------------------------------------+
+ rpcinfo -p @ +
+--------------------------------------------------------------------------------+
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 863 mountd
100005 3 udp 863 mountd
100005 1 tcp 863 mountd
100005 3 tcp 863 mountd
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100024 1 udp 990 status
100024 1 tcp 990 status
100021 0 udp 928 nlockmgr
100021 0 tcp 601 nlockmgr
100021 1 udp 928 nlockmgr
100021 1 tcp 601 nlockmgr
100021 3 udp 928 nlockmgr
100021 3 tcp 601 nlockmgr
100021 4 udp 928 nlockmgr
100021 4 tcp 601 nlockmgr
debug finished in 0 seconds for rpcinfo -p


+--------------------------------------------------------------------------------+
+ nfsstat @ +
+--------------------------------------------------------------------------------+
Client Info:
Rpc Counts:
Getattr Setattr Lookup Readlink Read Write Create Remove
0 0 0 0 0 0 0 0
Rename Link Symlink Mkdir Rmdir Readdir RdirPlus Access
0 0 0 0 0 0 0 0
Mknod Fsstat Fsinfo PathConf Commit
0 0 0 0 0
Rpc Info:
TimedOut Invalid X Replies Retries Requests
0 0 0 0 0
Cache Info:
Attr Hits Misses Lkup Hits Misses BioR Hits Misses BioW Hits Misses
0 0 0 0 0 0 0 0
BioRLHits Misses BioD Hits Misses DirE Hits Misses Accs Hits Misses
0 0 0 0 0 0 0 0

Server Info:
Getattr Setattr Lookup Readlink Read Write Create Remove
23342 9931 407 7 126 345 9 11
Rename Link Symlink Mkdir Rmdir Readdir RdirPlus Access
8 0 0 0 0 1381 0 5406
Mknod Fsstat Fsinfo PathConf Commit
0 0 2 1 5
Server Ret-Failed
0
Server Faults
0
Server Cache Stats:
Inprog Idem Non-idem Misses
0 0 0 25160
Server Write Gathering:
WriteOps WriteRPC Opsaved
345 345 0
debug finished in 0 seconds for nfsstat


+--------------------------------------------------------------------------------+
+ nfsstat -c @ +
+--------------------------------------------------------------------------------+
Client Info:
Rpc Counts:
Getattr Setattr Lookup Readlink Read Write Create Remove
0 0 0 0 0 0 0 0
Rename Link Symlink Mkdir Rmdir Readdir RdirPlus Access
0 0 0 0 0 0 0 0
Mknod Fsstat Fsinfo PathConf Commit
0 0 0 0 0
Rpc Info:
TimedOut Invalid X Replies Retries Requests
0 0 0 0 0
Cache Info:
Attr Hits Misses Lkup Hits Misses BioR Hits Misses BioW Hits Misses
0 0 0 0 0 0 0 0
BioRLHits Misses BioD Hits Misses DirE Hits Misses Accs Hits Misses
0 0 0 0 0 0 0 0
debug finished in 0 seconds for nfsstat -c


+--------------------------------------------------------------------------------+
+ nfsstat -s @ +
+--------------------------------------------------------------------------------+

Server Info:
Getattr Setattr Lookup Readlink Read Write Create Remove
23342 9931 407 7 126 345 9 11
Rename Link Symlink Mkdir Rmdir Readdir RdirPlus Access
8 0 0 0 0 1381 0 5406
Mknod Fsstat Fsinfo PathConf Commit
0 0 2 1 5
Server Ret-Failed
0
Server Faults
0
Server Cache Stats:
Inprog Idem Non-idem Misses
0 0 0 25160
Server Write Gathering:
WriteOps WriteRPC Opsaved
345 345 0
debug finished in 0 seconds for nfsstat -s


+--------------------------------------------------------------------------------+
+ nfsv4 locks: nfsdumpstate @ +
+--------------------------------------------------------------------------------+
Flags OpenOwner Open LockOwner Lock Deleg OldDeleg Clientaddr ClientID
4 11 0 0 0 0 192.168.1.2 4c696e7578204e465376342e30203139322e3136382e312e322f3139322e3136382e312e3120746370
debug finished in 0 seconds for nfsv4 locks: nfsdumpstate

 
Last edited:
Status
Not open for further replies.
Top