From owner-freebsd-questions@FreeBSD.ORG Fri Dec 2 14:58:50 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 040AF16A41F for ; Fri, 2 Dec 2005 14:58:50 +0000 (GMT) (envelope-from valerio.daelli@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6588643D55 for ; Fri, 2 Dec 2005 14:58:49 +0000 (GMT) (envelope-from valerio.daelli@gmail.com) Received: by xproxy.gmail.com with SMTP id t12so435171wxc for ; Fri, 02 Dec 2005 06:58:48 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=j41xtVVoNYCmMN7ecsO/ejvEPO4Sdsv9ZcOCI1HT8Ft/DwB6ZRCladabsEk+dSnItBTocc7BgRZe4udI+bq0bO9WFFlC25hUapY+UjUu5mlXkiprV9SjkCv3bZjWCzNMY9gXBnI3R2vz3vbh1I38eew0nCw+JzgXXKs3BZTXnzI= Received: by 10.70.17.19 with SMTP id 19mr2833374wxq; Fri, 02 Dec 2005 06:58:48 -0800 (PST) Received: by 10.70.32.20 with HTTP; Fri, 2 Dec 2005 06:58:48 -0800 (PST) Message-ID: <27dbfc8c0512020658g2601bcf7g545cd2951fb5a240@mail.gmail.com> Date: Fri, 2 Dec 2005 15:58:48 +0100 From: Valerio daelli To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: NFS over TCP on 5.4: client stucks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2005 14:58:50 -0000 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 15:48:33.518060 IP server.nfsd > client.896: S 3833266037:3833266037(0) ack 2110009722 win 65535 15:48:33.518458 IP client.896 > server.nfsd: . ack 1 win 33304 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 15:48:33.519649 IP server.nfsd > client.896: . ack 46 win 32745 15:48:33.519668 IP server.nfsd > client.896: F 29:29(0) ack 46 win 32745 15:48:33.519924 IP client.896 > server.nfsd: . ack 30 win 33303 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 15:48:36.538776 IP client.683 > server.nfsd: S 3682544280:3682544280(0) win 65535 15:48:39.737960 IP client.683 > server.nfsd: S 3682544280:3682544280(0) win 65535 15:48:42.937178 IP client.683 > server.nfsd: S 3682544280:3682544280(0) win 65535 15:48:46.136461 IP client.683 > server.nfsd: S 3682544280:3682544280(0) win 65535 15:48:49.335703 IP client.683 > server.nfsd: S 3682544280:3682544280(0) win 65535 15:48:55.534778 IP client.683 > server.nfsd: S 3682544280:3682544280(0) win 65535 15:49:07.733942 IP client.683 > server.nfsd: S 3682544280:3682544280(0) win 65535 15:49:31.933007 IP client.683 > server.nfsd: S 3682544280:3682544280(0) win 65535 Could anyone please help me? Thank you Valerio Daelli