From owner-freebsd-current@FreeBSD.ORG Wed Apr 27 17:59:50 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F7EE106564A for ; Wed, 27 Apr 2011 17:59:50 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by mx1.freebsd.org (Postfix) with ESMTP id 367528FC08 for ; Wed, 27 Apr 2011 17:59:49 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApwEAG9YuE2DaFvO/2dsb2JhbACEU6IQsmWRFIEpg1B9BI5Rjkg X-IronPort-AV: E=Sophos;i="4.64,275,1301889600"; d="scan'208";a="118836285" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 27 Apr 2011 13:59:49 -0400 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 4BBBDB3F2C for ; Wed, 27 Apr 2011 13:59:49 -0400 (EDT) Date: Wed, 27 Apr 2011 13:59:49 -0400 (EDT) From: Rick Macklem To: FreeBSD Current Message-ID: <1279660660.660472.1303927189244.JavaMail.root@erie.cs.uoguelph.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.91.203] X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - IE7 (Win)/6.0.10_GA_2692) Subject: Heads up: default nfs client switched to new one X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 27 Apr 2011 17:59:50 -0000 The commit r221124 switches the default NFS client to the new one in head. The fstype "newnfs" is now "nfs" and the regular/old NFS client is now fstype "oldnfs". As such, "mount -t nfs ..." will use the new client. Although most kernels will still work with the old mount(8) and mount_nfs(8) binaries (the exception is one built with "options NFSCL" but not "options NFSCLIENT"), you should build fresh mount(8) and mount_nfs(8) binaries. To use the old NFS client... You'll need new binaries for mount(8) and mount_nfs(8), plus a link in /sbin to mount_nfs called mount_oldnfs. Then you can use the old NFS client via: mount -t oldnfs ... Systems using a diskless root NFS fs will need to have the new client linked into their kernels via "options NFSCL". Both "options NFSCL" and "options NFSCLIENT" can be specified for the kernel. If you do that, you can switch back to the old NFS client by changing the fstype field of etc/fstab for the root fs on the NFS server to "oldnfs" plus adding a line like: vfs.root.mountfrom="oldnfs:" to boot/loader.conf in the root fs on the server. Hopefully, you won't need to do anything to keep things working and this won't cause you grief, rick