Date: Sun, 6 Apr 2008 10:53:20 +0100 From: Doug Rabson <dfr@rabson.org> To: Tz-Huan Huang <tzhuan@csie.org> Cc: freebsd-stable@freebsd.org, dfr@freebsd.org, Rong-en Fan <grafan@gmail.com>, Ken Chen <ken73.chen@gmail.com> Subject: Re: lock problem: nfs server on FreeBSD 7-stable, client on linux Message-ID: <8BB84DC5-36D9-4487-BC04-AA8C8285B947@rabson.org> In-Reply-To: <6a7033710804060158j38c1314u371130b05225c247@mail.gmail.com> References: <6a7033710804020517y2b0a0336v7ab840ca5a5f5ff4@mail.gmail.com> <d018a9bd0804021002n3a6234e7y66c2b50a1594afe9@mail.gmail.com> <6a7033710804052218u3660441bk6d37458af03e7ed@mail.gmail.com> <6eb82e0804052305k4c44679dn92c86c58ac591cdc@mail.gmail.com> <6a7033710804052338l5af386f9xdd5c8d4729be2683@mail.gmail.com> <AEECB0A1-E0B5-4443-9063-96C69F2CFA5D@rabson.org> <6a7033710804060158j38c1314u371130b05225c247@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6 Apr 2008, at 09:58, Tz-Huan Huang wrote: > On Sun, Apr 6, 2008 at 3:45 PM, Doug Rabson <dfr@rabson.org> wrote: >> >> It would be useful to get a packet trace from tcpdump (e.g. tcpdump >> -w >> <file>) that shows what happens on the wire when the linux client >> fails to >> lock a file on the freebsd server. > > Since the nfs server is in production now, I have setup another > machine to > get the packet trace. > > Here is the output of tcpdump (I use tcpdump -w host cml8): > > http://w.csie.org/~tzhuan/tmp/tcpdump.raw > > cml7 is the nfs server (today's 7-stable, i386) and cml8 is debian > linux (amd64). > I use this program (http://w.csie.org/~tzhuan/tmp/lock.c) to test the > file locking > when capturing the packets. It ran about 1m30s and showed ``lock > fail''. One thing I did notice is that the client appears to be trying to connect to the server on tcp port 751 and the server is rejecting that connection. I'm not sure I trust the output of sockstat - could you show me the output of rpcinfo and netstat -an.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8BB84DC5-36D9-4487-BC04-AA8C8285B947>