dCache / nfs4j

Pure Java NFSv3 and NFSv4.2 implementation
Other
240 stars 76 forks source link

nfs4j does not work with ms-nfs41-client, 'Too many ops' error #129

Closed dfshelton closed 9 months ago

dfshelton commented 10 months ago

Hello!

I tried to use your nfs4j based simple-nfs client from https://github.com/kofemann/simple-nfs with the new Windows ms-nfs41-client from https://sourceforge.net/p/ms-nfs41-client/mailman/message/58718627/ ... but this fails on the server side with Too many ops: 2024-01-07 22:38:01.216 [/92.68.2.205:49730] [nfs@30000 (2)] INFO o.d.n.v.NFSServerV41 - NFS operation failed: NFS4ERR_TOO_MANY_OPS : Too many ops [2]

Windows ms-nfs41-client daemon logs this: 1f08: started the callback thread 1458 1458: Creating callback thread 1458: callbody: rpcvers 2 cb_prog 9048 cb_vers 1 cb_proc 0 1458: cb: replying to xid 413427807 1f08: WARNING: requested session flags 3 received 2 1f08: WARNING: we asked for persistent session but server refused 1f08: nfs41_reclaim_complete() failed with NFS4ERR_TOO_MANY_OPS 1f08: sending shutdown to callback thread 1458 1458: callback received shutdown signal 1f08: terminated callback thread

Windows ms-nfs41-client nfs_mount logs this: /sbin/nfs_mount -o ro,port=30000 H: 92.68.2.206:/home/dan/nfs4j/simple-nfs WNetUseConnection(H:, \92.68.2.206@30000\home\dan\nfs4j\simple-nfs) failed with error code 53.

Can you please fix this?

dfshelton commented 9 months ago

The ms-nfs41-client binaries from https://sourceforge.net/p/ms-nfs41-client/mailman/message/58733214/ now work with nfs4j, so this bug can be closed.