Date: Fri, 2 Dec 2005 15:58:48 +0100 From: Valerio daelli <valerio.daelli@gmail.com> To: freebsd-questions@freebsd.org Subject: NFS over TCP on 5.4: client stucks Message-ID: <27dbfc8c0512020658g2601bcf7g545cd2951fb5a240@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello everybody I am trying to mount via NFS a directory exported from FreeBSD 5.4 on a FreeBSD 5.4. The server has these settings: nfs_server_enable=3D"YES" # This host is an NFS server (or NO). nfs_server_flags=3D"-u -t -n 8" # Flags to nfsd (if enabled). nfs_reserved_port_only=3D"YES" # Provide NFS only on secure port (or NO= ). nfs_bufpackets=3D"8" # bufspace (in packets) for client mountd_enable=3D"YES" # Run mountd (or NO). rpcbind_enable=3D"YES" # Run the portmapper service (YES/NO). rpcbind_program=3D"/usr/sbin/rpcbind" # path to rpcbind, if you want a different one. rpc_lockd_enable=3D"YES" # Run NFS rpc.lockd needed for client/server. rpc_statd_enable=3D"YES" and the client has these: nfs_client_enable=3D"YES" nfs_access_cache=3D"30" nfs_bufpackets=3D"8" rpc_lockd_enable=3D"YES" rpc_statd_enable=3D"YES" rpcbind_enable=3D"YES" The client can mount the server via UDP, but not via TCP, it just stucks. This is an extract from a tcpdump on the server 15:48:33.516995 IP client.991 > server.sunrpc: UDP, length: 56 15:48:33.517159 IP server.sunrpc > client.991: UDP, length: 28 15:48:33.518029 IP client.896 > server.nfsd: S 2110009721:2110009721(0) win 65535 <mss 1460,nop,nop,sackOK,nop,wscale 1,nop,nop,timestamp 190860 0> 15:48:33.518060 IP server.nfsd > client.896: S 3833266037:3833266037(0) ack 2110009722 win 65535 <mss 1460,nop,wscale 1,nop,nop,timestamp 84789431 190860,nop,nop,sackOK> 15:48:33.518458 IP client.896 > server.nfsd: . ack 1 win 33304 <nop,nop,timestamp 190861 84789431> 15:48:33.519193 IP client.1365672366 > server.nfs: 44 null 15:48:33.519230 IP server.nfs > client.1365672366: reply ok 28 null 15:48:33.519630 IP client.896 > server.nfsd: F 45:45(0) ack 29 win 33304 <nop,nop,timestamp 190862 84789431> 15:48:33.519649 IP server.nfsd > client.896: . ack 46 win 32745 <nop,nop,timestamp 84789431 190862> 15:48:33.519668 IP server.nfsd > client.896: F 29:29(0) ack 46 win 32745 <nop,nop,timestamp 84789431 190862> 15:48:33.519924 IP client.896 > server.nfsd: . ack 30 win 33303 <nop,nop,timestamp 190862 84789431> 15:48:33.520366 IP client.device > server.sunrpc: UDP, length: 56 15:48:33.520469 IP server.sunrpc > client.device: UDP, length: 28 15:48:33.539400 IP client.683 > server.nfsd: S 3682544280:3682544280(0) win 65535 <mss 1460,nop,nop,sackOK,nop,wscale 1,nop,nop,timestamp 190882 0> 15:48:36.538776 IP client.683 > server.nfsd: S 3682544280:3682544280(0) win 65535 <mss 1460,nop,nop,sackOK,nop,wscale 1,nop,nop,timestamp 193954 0> 15:48:39.737960 IP client.683 > server.nfsd: S 3682544280:3682544280(0) win 65535 <mss 1460,nop,nop,sackOK,nop,wscale 1,nop,nop,timestamp 197230 0> 15:48:42.937178 IP client.683 > server.nfsd: S 3682544280:3682544280(0) win 65535 <mss 1460,nop,nop,sackOK> 15:48:46.136461 IP client.683 > server.nfsd: S 3682544280:3682544280(0) win 65535 <mss 1460,nop,nop,sackOK> 15:48:49.335703 IP client.683 > server.nfsd: S 3682544280:3682544280(0) win 65535 <mss 1460,nop,nop,sackOK> 15:48:55.534778 IP client.683 > server.nfsd: S 3682544280:3682544280(0) win 65535 <mss 1460,nop,nop,sackOK> 15:49:07.733942 IP client.683 > server.nfsd: S 3682544280:3682544280(0) win 65535 <mss 1460,nop,nop,sackOK> 15:49:31.933007 IP client.683 > server.nfsd: S 3682544280:3682544280(0) win 65535 <mss 1460,nop,nop,sackOK> Could anyone please help me? Thank you Valerio Daelli
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?27dbfc8c0512020658g2601bcf7g545cd2951fb5a240>