From owner-freebsd-stable@FreeBSD.ORG Thu Mar 18 13:21:58 2004 Return-Path: Delivered-To: freebsd-stable@www.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 927E916A4CE for ; Thu, 18 Mar 2004 13:21:58 -0800 (PST) Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AF4443D31 for ; Thu, 18 Mar 2004 13:21:58 -0800 (PST) (envelope-from dwhite@gumbysoft.com) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 7FF7955F92 for ; Thu, 18 Mar 2004 13:21:58 -0800 (PST) (envelope-from dwhite@gumbysoft.com) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CD1F16A4CE for ; Thu, 18 Mar 2004 13:21:58 -0800 (PST) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7068843D31 for ; Thu, 18 Mar 2004 13:21:58 -0800 (PST) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 62E4672DD4; Thu, 18 Mar 2004 13:21:58 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 60D0672DB5; Thu, 18 Mar 2004 13:21:58 -0800 (PST) Date: Thu, 18 Mar 2004 13:21:58 -0800 (PST) From: Doug White To: Mike Andrews In-Reply-To: <20040318161712.T4263@mindcrime.bit0.com> Message-ID: <20040318132104.T63293@carver.gumbysoft.com> References: <20040318144807.E95350@mindcrime.bit0.com> <20040318161712.T4263@mindcrime.bit0.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@lists.freebsd.org Subject: Re: Weird NFSvs rdirplus issues X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2004 21:21:58 -0000 On Thu, 18 Mar 2004, Mike Andrews wrote: > > > # grep acreg /etc/fstab > > > server:/fs /mnt nfs,ro,-lis,acdirmin=0,acdirmax=1,acregmin=0,acregmax=1 0 0 > > > # mount /mnt > > > mount: server:/fs: Segmentation fault > > > > What happens if you change "-lis" to "rdirplus,soft,intr,nfsv3"? > > Readdirplus is a v3 call so it might imply it anyway, but best to be safe. > > Same thing. It's definitely using v3. The default is to try 3 then back > down to 2, but I did try explicitly forcing 3 and it made no difference. > > Though that does bring up another point: it would be nice if 'mount' (with > no arguments) would tell you what your currently active options are, like > it does for ufs. I did find some discussion of this in the archives, but > no definitive indication that it was planned (and it's not in 5.2.1...) I think it was dependent on getting a new method for passing mount flags around which did make it in to 5.x. Its probably something that someone would have to work on, thats all. For NFS tuning options, though, I'd be a bit sketch on passing ALL of them back; I don't know if the current implementation understands which have been changed so it knows to send them down. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org