Jeff Garzik wrote: > Hi. I poked around for "OpenSolaris / Mailing Lists / NFS", and this > is what I found :) If this is an inappropriate place for questions, > please let me know.
No, it is a good place... > > I have written a NFSv4 server[1], and am trying to get OpenSolaris > talking to it. My server passes citi's newpynfs tests and talks > successfully to Linux. However, mounting from OpenSolaris 2008.11 > simply blocks and never returns: > > mount -F nfs -o vers=4 bd:/ /bd > > (SIGINT/Ctrl-C return me to shell, as expected) > > I tried all manner of URLs and the 'public' option as well, with the > same results (mount blocks and never returns). > > Tracing my NFSv4 server, it never even receives a TCP connection from > the client. Nor does snoop "rpc nfs" on the OpenSolaris client show > anything. snoop -o /root/os2jg.snoop -x0,2000 clientname servername There shouldn't be any other traffic flowing, so lets capture it all. The clientname and servername will limit things to just those two machines. And the -x will capture most of the pay load. You can then do snoop -i /root/os2jg.snoop to look at output. And you can also use -V and -v for verbosity. Wireshark also understands snoop. > > This OpenSolaris/x86 system successfully mounts a Linux NFSv4 server, > so I know that networking and NFSv4 _do_ work on the OpenSolaris client. > > What are the best methods to debug the mount process? > > If it matters, my NFSv4 server does not register itself with rpcbind / > mount / portmap / etc. services. It just listens on port 2049, and > processes connections. > By the way, even though NFSv4 does not require the mount protocol, the implementation of mount on OpenSolaris will actually send mountd requests to get the name space. You could do a showmount -e against the server and see if that hangs as well. A more complete snoop trace could help. Let us know what you see and we'll try to help some more. > Thanks, > > Jeff > > > > [1] http://linux.yyz.us/projects/nfsv4.html > _______________________________________________ > nfs-discuss mailing list > nfs-discuss at opensolaris.org