Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Sep 2010 17:08:30 -0700
From:      Tim Kientzle <tim@kientzle.com>
To:        Rick Macklem <rmacklem@uoguelph.ca>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Experimental NFS server oddity
Message-ID:  <AA83D160-71BC-4955-B49F-96B4EEF03EBE@kientzle.com>
In-Reply-To: <579405651.776013.1284247201493.JavaMail.root@erie.cs.uoguelph.ca>
References:  <579405651.776013.1284247201493.JavaMail.root@erie.cs.uoguelph.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sep 11, 2010, at 4:20 PM, Rick Macklem wrote:

>> I just tried adding
>>=20
>> nfsv4_server_enable=3D"YES"
>>=20
>> to my rc.conf and found that after I rebooted the server, my FreeBSD =
8
>> client (still using NFSv3) couldn't connect because there was no RPC
>> mapping for nfs.

> Did you specify both of these in rc.conf?
> nfs_server_enable=3D"YES"
> nfsv4_server_enable=3D"YES"
>=20
> You need to specify both of them (and nfsuserd=3D"YES" if you going to =
use
> NFSv4). See "man nfsv4" for more.

Both specified, as well as
   rpcbind_enable=3D"YES"

> If you did specify both, then do a "ps axHl" to see what didn't start =
up.

rpcbind, mountd, and nfsuserd are all running, but nfsd is not running.

> You can also look in /var/log/messages to see if any of the daemons
> are complaining about something.

Only warning I see on a system reboot is:
   nfsd: can't open /var/db/nfs-stablerestart

Creating this file and then rebooting the system seems to get things =
working.

This file certainly wasn't required by the old nfsd.
Should this file be created by /etc/rc.d/nfsserver at boot time (if it =
doesn't exist)?
Or should it be created by installworld?

Tim




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AA83D160-71BC-4955-B49F-96B4EEF03EBE>