Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jun 2011 20:21:27 -0400 (EDT)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        =?utf-8?Q?Tobiasz_Siemi=C5=84ski?= <tobiasz.sieminski@gmail.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: NFSv4 at Diskless Station
Message-ID:  <1243226547.108967.1307146886997.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <BANLkTikr-KqtaTP41DFXLc76e6msmMXQ0Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1243226547.108967.1307146886997.JavaMail.root>