From owner-freebsd-net@FreeBSD.ORG Thu Apr 7 18:41:40 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4D77106566C for ; Thu, 7 Apr 2011 18:41:40 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout022.mac.com (asmtpout022.mac.com [17.148.16.97]) by mx1.freebsd.org (Postfix) with ESMTP id AE2D58FC0A for ; Thu, 7 Apr 2011 18:41:40 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from cswiger1.apple.com ([17.209.4.71]) by asmtp022.mac.com (Oracle Communications Messaging Exchange Server 7u4-20.01 64bit (built Nov 21 2010)) with ESMTPSA id <0LJA00G6JP98JK70@asmtp022.mac.com> for freebsd-net@freebsd.org; Thu, 07 Apr 2011 11:41:33 -0700 (PDT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2011-04-07_06:2011-04-07, 2011-04-07, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1012030000 definitions=main-1104070100 From: Chuck Swiger In-reply-to: Date: Thu, 07 Apr 2011 11:41:32 -0700 Message-id: <8E8CB612-8391-4C7B-B554-E0F697E7131E@mac.com> References: To: "Marc G. Fournier" X-Mailer: Apple Mail (2.1084) Cc: freebsd-net@freebsd.org Subject: Re: mounting nfs: what options available for /etc/fstab? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Apr 2011 18:41:40 -0000 On Apr 7, 2011, at 8:02 AM, Marc G. Fournier wrote: > Part of the recent thread I had about mounting nfs point to using nolockd to disable locking ... checking the mount_nfs man page, it lists 'lockd' as a deprecated option, but doesn't list 'nolockd' anywhere ... Much as with gcc, if mount command option "foo" exists which can be inverted, then there will be a "nofoo" option. Also, I am unsure where you find mention that "lockd" is deprecated, and I see an entry for "nolockd" here: http://www.freebsd.org/cgi/man.cgi?query=mount_nfs&sektion=8 > So, my question is: what options *are* currently supported? > > For instance, I'm doing, right now: > > rw,noauto,intr,nolockd > > which isn't generating any errors, but intr is classified in the man page as deprecated, so what *should* I be using instead? Again, I see no signs that "intr" is marked as deprecated? > Also, the man page has a '-4' option for nfsv4 ... two questions on that front: > > 1. how do I know what version *is* being used? showmount doesn't seem > to show that sort of info, nor does the mount command ... > > 2. what would I use in /etc/fstab to force it *if* I needed to? As for the default version being used, this is documented as: "nfsv2 Use the NFS Version 2 protocol (the default is to try version 3 first then version 2). Note that NFS version 2 has a file size limit of 2 gigabytes." ...and you can run "rpcinfo -p _fileserver_" to view the version of the RPC services available. Regards, -- -Chuck