tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NFSv4/NEW_NFS



	Hello,

	I use a NetBSD-8 NFS server in an heterogeneous network with Linux and
FreeBSD clients. All workstations mount network disks with NFSv3/TCP
protocol. For a long time, I've got in message.log :

Apr 17 12:27:04 legendre rpc.lockd: no matching entry for pythagore
Apr 17 12:27:04 legendre rpc.lockd: no matching entry for pythagore
Apr 17 12:27:06 legendre rpc.lockd: duplicate lock from pythagore.38408
Apr 17 12:27:06 legendre rpc.lockd: no matching entry for pythagore
Apr 17 12:27:06 legendre rpc.lockd: duplicate lock from pythagore.38408
Apr 17 12:27:06 legendre rpc.lockd: no matching entry for pythagore
Apr 17 12:27:06 legendre rpc.lockd: duplicate lock from pythagore.38408

	These messages come from a FreeBSD client but this client run as
expected. For a few days (maybe after an upgrade of a Linux workstation
to 4.15 kernel), I see in log file :

Apr 17 12:28:01 legendre rpc.lockd: no matching entry for hilbert
Apr 17 12:28:01 legendre rpc.lockd: duplicate lock from hilbert.2
Apr 17 12:28:01 legendre rpc.lockd: no matching entry for hilbert
Apr 17 12:28:02 legendre rpc.lockd: duplicate lock from hilbert.2
Apr 17 12:28:02 legendre rpc.lockd: no matching entry for hilbert
Apr 17 12:28:02 legendre rpc.lockd: no matching entry for pythagore
Apr 17 12:28:04 legendre rpc.lockd: duplicate lock from hilbert.2
Apr 17 12:28:04 legendre rpc.lockd: no matching entry for hilbert
Apr 17 12:28:05 legendre rpc.lockd: duplicate lock from hilbert.2
Apr 17 12:28:05 legendre rpc.lockd: no matching entry for hilbert
Apr 17 12:28:05 legendre rpc.lockd: duplicate lock from hilbert.2
Apr 17 12:28:05 legendre rpc.lockd: no matching entry for hilbert

	Hilbert is a Linux diskless client. This workstation mounts two
partitions : / (with nolock) and /home.

root@hilbert:~# nfsstat -m
/ from 192.168.10.128:/srv/hilbert
 Flags:
rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,nolock,proto=tcp,port=2049,timeo=7,retrans=10,sec=sys,local_lock=all,addr=192.168.10.128

/home from 192.168.10.128:/home
 Flags:
rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.10.128,mountvers=3,mountport=1020,mountproto=tcp,local_lock=none,addr=192.168.10.128

	Problem : NFS regularly stalls (I have investigated and rpc.lockd seems
to be responsible).

	Thus, I have tried to build a -8 kernel with NEW_NFS to test. I have
created some missing files with rpcgen, moved includes, but I'm unable
to build this kernel.

	Does someone work on NEW_NFS features ?

	Best regards,

	JB


Home | Main Index | Thread Index | Old Index