From owner-freebsd-questions@FreeBSD.ORG Wed May 30 17:19:57 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E0DB16A400 for ; Wed, 30 May 2007 17:19:57 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from corellia.vindaloo.com (corellia.vindaloo.com [64.51.148.100]) by mx1.freebsd.org (Postfix) with ESMTP id 50D0313C4AD for ; Wed, 30 May 2007 17:19:57 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from [172.24.145.69] (endor.vindaloo.com [172.24.145.69]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by corellia.vindaloo.com (Postfix) with ESMTP id 5CF8C5CA4; Wed, 30 May 2007 13:19:56 -0400 (EDT) Message-ID: <465DB23E.7020003@vindaloo.com> Date: Wed, 30 May 2007 13:19:58 -0400 From: Christopher Hilton User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: Devin Heckman References: <20070529205419.GO4099@rescomp.berkeley.edu> <465CB591.4050607@vindaloo.com> <20070530023904.GR4099@rescomp.berkeley.edu> In-Reply-To: <20070530023904.GR4099@rescomp.berkeley.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: NFS tuning on FreeBSD 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: Wed, 30 May 2007 17:19:57 -0000 Devin Heckman wrote: [snip] > Specifically, I want to know what version of NFS the connection is > running over, whether or not it's using TCP or UDP, and other > information of that nature. I haven't quite found a utility or file that > contains this information yet. That's a good question. Honestly I've never had to look. If I recall your original question properly your server was FreeBSD and your client was Linux. In this case the Linux mount command gives you good information. From FreeBSD the only way that I have found was to embed the options into the fstab file and use the short version of the mount command when attaching the filesystem. For a tcp mount my fstab entry on FreeBSD looks like this: server:/directory /mountpoint nfs rw,tcp,intr,noauto 0 0 On my Ubuntu Linux box I have to do this: server/directory /mountpoint nfs rw,tcp,nfsvers=3,intr,noauto 0 0 To get the same effect. For the FreeBSD NFS client the default is to try NFSv3 first followed by NFSv2. The documentation on my Ubuntu box indicates that it's Linux client defaults to NFSv2 and uses UDP. The behavior that I would expect to see from an Ubuntu Linux NFS client with a FreeBSD NFS server would be a NFSv2 UDP mount. Sorry I couldn't give you a better answer. Perhaps someone on the list knows a better way. -- Chris -- __o "All I was doing was trying to get home from work." _`\<,_ -Rosa Parks ___(*)/_(*)___________________________________________________________ Christopher Sean Hilton pgp key: D0957A2D/f5 30 0a e1 55 76 9b 1f 47 0b 07 e9 75 0e 14