Date: Sun, 6 Apr 2008 16:58:08 +0800 From: "Tz-Huan Huang" <tzhuan@csie.org> To: "Doug Rabson" <dfr@rabson.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: <6a7033710804060158j38c1314u371130b05225c247@mail.gmail.com> In-Reply-To: <AEECB0A1-E0B5-4443-9063-96C69F2CFA5D@rabson.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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''. sockstat -4l on cml7: root sshd 695 3 tcp4 *:22 *:* daemon rpc.lockd 577 4 udp4 *:751 *:* daemon rpc.lockd 577 5 tcp4 *:751 *:* daemon rpc.lockd 577 7 udp4 *:716 *:* root rpc.lockd 565 4 udp4 *:751 *:* root rpc.lockd 565 5 tcp4 *:751 *:* root rpc.lockd 565 7 udp4 *:716 *:* root rpc.statd 559 3 udp4 *:739 *:* root rpc.statd 559 4 tcp4 *:686 *:* root rpc.statd 558 3 udp4 *:739 *:* root rpc.statd 558 4 tcp4 *:686 *:* root nfsd 551 3 tcp4 *:2049 *:* root mountd 542 5 udp4 *:608 *:* root mountd 542 7 tcp4 *:608 *:* root rpcbind 497 6 udp4 *:111 *:* root rpcbind 497 7 udp4 *:725 *:* root rpcbind 497 8 tcp4 *:111 *:* Thanks, Tz-Huan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a7033710804060158j38c1314u371130b05225c247>