From owner-freebsd-fs@FreeBSD.ORG Sat Jun 4 00:21:28 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 810B81065670 for ; Sat, 4 Jun 2011 00:21:28 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id 3EC348FC0C for ; Sat, 4 Jun 2011 00:21:27 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap0EAAl66U2DaFvO/2dsb2JhbABThEqidIhxsEWQWoErg2yBCgSQdI9V X-IronPort-AV: E=Sophos;i="4.65,317,1304308800"; d="scan'208";a="126829356" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 03 Jun 2011 20:21:26 -0400 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 07A11B3F8E; Fri, 3 Jun 2011 20:21:27 -0400 (EDT) Date: Fri, 3 Jun 2011 20:21:27 -0400 (EDT) From: Rick Macklem To: =?utf-8?Q?Tobiasz_Siemi=C5=84ski?= Message-ID: <1243226547.108967.1307146886997.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [172.17.91.203] X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - IE7 (Win)/6.0.10_GA_2692) Cc: freebsd-fs@freebsd.org Subject: Re: NFSv4 at Diskless Station X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jun 2011 00:21:28 -0000 > Tobiasz wrote: > Hello, > I have a little problem with FreeBsd9 at the diskless station. I want > to > configure NFSv4 server on it, I have specific configuration and I dont > know > which kernel modules are necessary to work correctly. Could you say > which > modules are the most important and which order of loading them is ok. > Could > I load these modules by kldload after boot system? >=20 > When I load nfs_common, nfsclient.ko, nfsserver.ko with kldload, then > I > configure nfsv4 server and when i am trying to mount nfsv4 client on > other > station it mounts nfsv3 client. > Best regards, Tobiasz Siemi=C5=84ski. > Those modules are the old server that doesn't support NFSv4. You can set the following in /etc/rc.conf: nfs_server_enable=3D"YES" nfsv4_server_enable=3D"YES" or if you want to load the module yourself, do a: # kldload nfsd.ko <-- it will load any others that are needed You'll also need a "V4:" line in your /etc/exports. Look at "man nfsv4" for more info, rick ps: The diskless root fs needs to use nfsv3, but other mounts can be NFSv4.