From owner-freebsd-questions Sun Jul 15 21:45:29 2001 Delivered-To: freebsd-questions@freebsd.org Received: from sharmas.dhs.org (cpe-66-1-147-119.ca.sprintbbd.net [66.1.147.119]) by hub.freebsd.org (Postfix) with ESMTP id 77F0437B403 for ; Sun, 15 Jul 2001 21:45:26 -0700 (PDT) (envelope-from adsharma@sharmas.dhs.org) Received: by sharmas.dhs.org (Postfix, from userid 500) id 07F625DD94; Sun, 15 Jul 2001 21:45:38 -0700 (PDT) Date: Sun, 15 Jul 2001 21:45:38 -0700 From: Arun Sharma To: Dan Nelson Cc: questions@FreeBSD.ORG Subject: Re: NFS mount Linux Mandrake 8.0 -> FreeBSD 4.3-STABLE hang Message-ID: <20010715214538.A20260@sharmas.dhs.org> References: <20010715200102.A19948@sharmas.dhs.org> <20010715220415.A3289@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: <20010715220415.A3289@dan.emsphone.com>; from dnelson@emsphone.com on Sun, Jul 15, 2001 at 10:04:15PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jul 15, 2001 at 10:04:15PM -0500, Dan Nelson wrote: > In the last episode (Jul 15), Arun Sharma said: > > I use amd to NFS mount /net//foo > > > > and then try: > > > > $ cp /net/*/foo/bar to /tmp > > > > For small files, it works ok. For anything larger than a few kilobytes, > > cp hangs. So does any command that does any directory operations on > > /tmp. > > Try tcpdumping both machines. NFS prefers to use 8K data packets, so > if you've got a broken router inbetween the two boxes, the packets may > get dropped instead of fragmented. Going to TCP NFS mounts will fix > it, if that is the problem. Actually, I figured out that the cp doesn't hang, but takes a *long* time - longer than it takes to transfer the file via scp over the same interface. tcpdump shows that NFS is using 8kb block size, but packets get fragmented because I'm on a wireless network with a MTU < 2k. -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message