Still having no luck.  Instead of relying on RPC itself, checked
with Ganesha about what it registers, and tried some of those.

The default procedure is 0, that according to every RFC is reserved for
do nothing.  But rpcbind is not finding program and version.

To be honest, I'm not sure how this can ever be used for real testing.
According to the documentation:

3.3.0 Procedure 0: NULL - Do nothing
...
      Since the NULL procedure takes no NFS version 3 protocol
      arguments and returns no NFS version 3 protocol response,
      it can not return an NFS version 3 protocol error.

But we need some kind of response for timing!

bill@simpson91:~/rdma/ntirpc$ cd ../build~ntirpc/
bill@simpson91:~/rdma/build~ntirpc$ tests/rpcping
Usage: rpcping <protocol> <host> <nthreads> [<count> [<program> [<version> 
[<procedure>]]]]

NFS

bill@simpson91:~/rdma/build~ntirpc$ tests/rpcping tcp localhost 1 10 100003 2
clnt_ncreate failed: RPC: Unknown protocol
bill@simpson91:~/rdma/build~ntirpc$ tests/rpcping tcp localhost 1 10 100003 3
clnt_ncreate failed: RPC: Unknown protocol
bill@simpson91:~/rdma/build~ntirpc$ tests/rpcping tcp localhost 1 10 100003 4
clnt_ncreate failed: RPC: Unknown protocol
bill@simpson91:~/rdma/build~ntirpc$ tests/rpcping tcp 127.0.0.1 1 10 100003 4
clnt_ncreate failed: RPC: Unknown protocol


Mount

bill@simpson91:~/rdma/build~ntirpc$ tests/rpcping tcp 127.0.0.1 1 10 100005 4
clnt_ncreate failed: RPC: Unknown protocol
bill@simpson91:~/rdma/build~ntirpc$ tests/rpcping tcp 127.0.0.1 1 10 100005 3
clnt_ncreate failed: RPC: Unknown protocol
bill@simpson91:~/rdma/build~ntirpc$ tests/rpcping tcp 127.0.0.1 1 10 100005 2
clnt_ncreate failed: RPC: Unknown protocol
bill@simpson91:~/rdma/build~ntirpc$ tests/rpcping tcp 127.0.0.1 1 10 100005 1
clnt_ncreate failed: RPC: Unknown protocol


rpcbind itself

bill@simpson91:~/rdma/build~ntirpc$ tests/rpcping tcp 127.0.0.1 1 10 100000 1
clnt_ncreate failed: RPC: Unknown protocol
bill@simpson91:~/rdma/build~ntirpc$ tests/rpcping tcp 127.0.0.1 1 10 100000 2
clnt_ncreate failed: RPC: Unknown protocol
bill@simpson91:~/rdma/build~ntirpc$ tests/rpcping tcp 127.0.0.1 1 10 100000 3
clnt_ncreate failed: RPC: Unknown protocol
bill@simpson91:~/rdma/build~ntirpc$ tests/rpcping tcp 127.0.0.1 1 10 100000 4
clnt_ncreate failed: RPC: Unknown protocol

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to