From owner-freebsd-current@FreeBSD.ORG Thu Aug 28 01:48:34 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7127016A4BF; Thu, 28 Aug 2003 01:48:34 -0700 (PDT) Received: from puffin.mail.pas.earthlink.net (puffin.mail.pas.earthlink.net [207.217.120.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC47E43F75; Thu, 28 Aug 2003 01:48:31 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from user-2ivfk56.dialup.mindspring.com ([165.247.208.166] helo=mindspring.com) by puffin.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 19sISD-0002g9-00; Thu, 28 Aug 2003 01:48:30 -0700 Message-ID: <3F4DC1AC.B551316C@mindspring.com> Date: Thu, 28 Aug 2003 01:47:40 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Pawel Worach References: <3F4CD409.5080703@telia.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4ac3e35fac31d80b88c26841c16be84d293caf27dac41a8fd350badd9bab72f9c350badd9bab72f9c cc: freebsd-current@freebsd.org cc: Robert Watson Subject: Re: nfs tranfers hang in state getblck or nfsread X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 08:48:34 -0000 Pawel Worach wrote: [ ... subject ... ] > This only seem to happen for nfs over tcp. That's strange; most of the problems I've ever seen are from using UDP, large read/write sizes, and then droping one packet out of a bunch of frags caused by the MTU being much smaller than the read/write size (misguided attempt to emulate a fixed window size and get more packets in flight, without using TCP to do it). > fstab on the client (/conf/default/etc/fstab) looks like: > server:/export/root / nfs ro 0 0 > procfs /proc procfs rw 0 0 > server:/usr /usr nfs ro,nfsv3,tcp 0 0 > server:/usr/home /home nfs rw,nfsv3,tcp 0 0 > /export nfs ro,nfsv3,tcp 0 0 > server:/export/data/swap /swap nfs rw,nfsv3,tcp 0 0 > /dev/acd0 /cdrom cd9660 ro,noauto 0 0 > > /etc/exports on the server looks like: > /export -alldirs -maproot=root -network 192.168.1.0 -mask 255.255.255.0 > /export/root -ro -maproot=0 client > /export/data/swap -mapall=nobody -network 192.168.1.0 -mask 255.255.255.0 > /usr/home client > /usr -ro -network 192.168.1.0 -mask 255.255.255.0 > > filesystems on the server: > / magic 11954 (UFS1) time Wed Aug 27 17:34:13 2003 > /usr magic 19540119 (UFS2) time Wed Aug 27 17:33:38 2003 > /export magic 11954 (UFS1) time Sat Aug 23 23:51:20 2003 > /export/data magic 19540119 (UFS2) time Tue Aug 26 07:48:01 2003 What's "magic"? Make it go away; the word usually means "it's so complicated, I can't explain it to you, and I implemented the thing, so you should have szero faith in it, because if the person who implemented it can't explain it, then it's going to be impossible to verify correct operation". -- Terry