nfs problem

Thomas Winder (thomas.winder@newlogic.at)
10 Jun 1998 15:00:09 +0200


Hi!

I'm having a problem with nfs mounted data. The server is a sun-sparc
machine running SunOs 5.5.1. The client side is a pentium machine
using linux-2.1.105 (btw - i have also tried this with a sparc machine
as client running the latest linux CVS snapshot from vger - same
result).

When using a write block size > 1024 a process trying to write data
via nfs seems to hang. The client also reports "nfs server xxx not
responding" and "RPC: task timed out". The problem seems to be related
to fragmentation as the mtu on this line is 1500. As long as no
fragmentation takes place everything seems to be ok - the problem does
not occur with wsize=1024.

Below is a typical tcpdump output taken when the problem
occurs. enterprise2 is the sun server, wst4 the linux client. The
write block size is 8192. I'm just opening the file "xx" in vi, change
something and then try to write the file back. The client seems to
resend the write operation but does not get any response from the
server.

Any clues?

tom

14:37:01.157127 wst4.newlogic.at.450430464 > enterprise2.newlogic.at.nfs: 120 lookup fh 45,6/6374774 "xx"
14:37:01.157719 enterprise2.newlogic.at.nfs > wst4.newlogic.at.450430464: reply ok 128 lookup fh 45,6/6374462 (DF)
14:37:01.161480 wst4.newlogic.at.467207680 > enterprise2.newlogic.at.nfs: 124 lookup fh 45,6/6374774 ".xx.swp"
14:37:01.161781 enterprise2.newlogic.at.nfs > wst4.newlogic.at.467207680: reply ok 128 lookup ERROR: No such file or directory (DF)
14:37:01.162204 wst4.newlogic.at.483984896 > enterprise2.newlogic.at.nfs: 156 create fh 45,6/6374774 ".xx.swp"
14:37:01.165677 enterprise2.newlogic.at.nfs > wst4.newlogic.at.483984896: reply ok 128 create fh 45,6/6374461 (DF)
14:37:01.166116 wst4.newlogic.at.500762112 > enterprise2.newlogic.at.nfs: 124 lookup fh 45,6/6374774 ".xx.swpx"
14:37:01.166385 enterprise2.newlogic.at.nfs > wst4.newlogic.at.500762112: reply ok 128 lookup ERROR: No such file or directory (DF)
14:37:01.166777 wst4.newlogic.at.517539328 > enterprise2.newlogic.at.nfs: 156 create fh 45,6/6374774 ".xx.swpx"
14:37:01.170465 enterprise2.newlogic.at.nfs > wst4.newlogic.at.517539328: reply ok 128 create fh 45,6/6374463 (DF)
14:37:01.171024 wst4.newlogic.at.534316544 > enterprise2.newlogic.at.nfs: 124 remove fh 45,6/6374774 ".xx.swpx"
14:37:01.172660 enterprise2.newlogic.at.nfs > wst4.newlogic.at.534316544: reply ok 28 remove (DF)
14:37:01.173042 wst4.newlogic.at.551093760 > enterprise2.newlogic.at.nfs: 124 remove fh 45,6/6374774 ".xx.swp"
14:37:01.174656 enterprise2.newlogic.at.nfs > wst4.newlogic.at.551093760: reply ok 28 remove (DF)
14:37:01.175901 wst4.newlogic.at.567870976 > enterprise2.newlogic.at.nfs: 156 create fh 45,6/6374774 ".xx.swp"
14:37:01.179590 enterprise2.newlogic.at.nfs > wst4.newlogic.at.567870976: reply ok 128 create fh 45,6/6374461 (DF)
14:37:01.180425 wst4.newlogic.at > enterprise2.newlogic.at: (frag 9873:1272@2960)
14:37:01.180552 wst4.newlogic.at > enterprise2.newlogic.at: (frag 9873:1480@1480+)
14:37:01.180669 wst4.newlogic.at.584648192 > enterprise2.newlogic.at.nfs: 1472 write fh 45,6/6374461 4096 (4096) bytes @ 0 (0) (frag 9873:1480@0+)
14:37:01.181914 wst4.newlogic.at.601425408 > enterprise2.newlogic.at.nfs: 124 read fh 45,6/6374462 4096 bytes @ 0
14:37:01.182216 enterprise2.newlogic.at.nfs > wst4.newlogic.at.601425408: reply ok 192 read (DF)
14:37:01.879702 wst4.newlogic.at > enterprise2.newlogic.at: (frag 9917:1272@2960)
14:37:01.879819 wst4.newlogic.at > enterprise2.newlogic.at: (frag 9917:1480@1480+)
14:37:01.879939 wst4.newlogic.at.584648192 > enterprise2.newlogic.at.nfs: 1472 write fh 45,6/6374461 4096 (4096) bytes @ 0 (0) (frag 9917:1480@0+)
14:37:03.279566 wst4.newlogic.at > enterprise2.newlogic.at: (frag 9918:1272@2960)
14:37:03.279739 wst4.newlogic.at > enterprise2.newlogic.at: (frag 9918:1480@1480+)
14:37:03.279805 wst4.newlogic.at.584648192 > enterprise2.newlogic.at.nfs: 1472 write fh 45,6/6374461 4096 (4096) bytes @ 0 (0) (frag 9918:1480@0+)
14:37:06.079556 wst4.newlogic.at > enterprise2.newlogic.at: (frag 9929:1272@2960)
14:37:06.079693 wst4.newlogic.at > enterprise2.newlogic.at: (frag 9929:1480@1480+)
14:37:06.079818 wst4.newlogic.at.584648192 > enterprise2.newlogic.at.nfs: 1472 write fh 45,6/6374461 4096 (4096) bytes @ 0 (0) (frag 9929:1480@0+)
14:37:11.679390 wst4.newlogic.at > enterprise2.newlogic.at: (frag 9947:1272@2960)
14:37:11.679519 wst4.newlogic.at > enterprise2.newlogic.at: (frag 9947:1480@1480+)
14:37:11.679641 wst4.newlogic.at.584648192 > enterprise2.newlogic.at.nfs: 1472 write fh 45,6/6374461 4096 (4096) bytes @ 0 (0) (frag 9947:1480@0+)
14:37:12.618087 enterprise2.newlogic.at.32821 > wst4.newlogic.at.639: F 65:65(0) ack 122 win 8760 (DF)
14:37:13.079400 wst4.newlogic.at > enterprise2.newlogic.at: (frag 9954:1272@2960)
14:37:13.079544 wst4.newlogic.at > enterprise2.newlogic.at: (frag 9954:1480@1480+)
14:37:13.079653 wst4.newlogic.at.584648192 > enterprise2.newlogic.at.nfs: 1472 write fh 45,6/6374461 4096 (4096) bytes @ 0 (0) (frag 9954:1480@0+)
14:37:15.879374 wst4.newlogic.at > enterprise2.newlogic.at: (frag 9955:1272@2960)
14:37:15.879506 wst4.newlogic.at > enterprise2.newlogic.at: (frag 9955:1480@1480+)
14:37:15.879626 wst4.newlogic.at.584648192 > enterprise2.newlogic.at.nfs: 1472 write fh 45,6/6374461 4096 (4096) bytes @ 0 (0) (frag 9955:1480@0+)
14:37:21.479149 wst4.newlogic.at > enterprise2.newlogic.at: (frag 9956:1272@2960)
14:37:21.479282 wst4.newlogic.at > enterprise2.newlogic.at: (frag 9956:1480@1480+)
14:37:21.479400 wst4.newlogic.at.584648192 > enterprise2.newlogic.at.nfs: 1472 write fh 45,6/6374461 4096 (4096) bytes @ 0 (0) (frag 9956:1480@0+)
14:37:24.279126 wst4.newlogic.at > enterprise2.newlogic.at: (frag 9957:1272@2960)
14:37:24.279261 wst4.newlogic.at > enterprise2.newlogic.at: (frag 9957:1480@1480+)
14:37:24.279384 wst4.newlogic.at.584648192 > enterprise2.newlogic.at.nfs: 1472 write fh 45,6/6374461 4096 (4096) bytes @ 0 (0) (frag 9957:1480@0+)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu