Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jul 2006 12:15:43 +0200
From:      Erik Norgaard <norgaard@locolomo.org>
To:        David Landgren <david@landgren.net>
Cc:        David Kelly <dkelly@hiwaay.net>, freebsd-questions@freebsd.org
Subject:   Re: Connection refusal for an NFS mount
Message-ID:  <44C0A94F.605@locolomo.org>
In-Reply-To: <44C0A180.1040302@landgren.net>
References:  <44BF9E40.7090104@landgren.net>	<20060720164601.GA71581@Grumpy.DynDNS.org>	<44BFC0B4.5000108@landgren.net>	<20060720183904.GA72155@Grumpy.DynDNS.org> <44C0A180.1040302@landgren.net>

next in thread | previous in thread | raw e-mail | index | archive | help
David Landgren wrote:
> Short of rebooting the server, how do I reinitialise the NFS layers? 
> Does the following order sound sane?
> 
> /etc/rc.d/mountd stop
> /etc/rc.d/nfsd stop
> /etc/rc.d/rpcbind stop
> 
> ... and the the same again with start in the reverse order?

rpcbind must be started first in order for mountd and nfsd to register 
with it correctly. You can force mountd to bind to a specific port, then 
it should(?) also be possible to get things working without rpcbind.

You need only to restart mountd when you change your exports file.

Cheers, Erik
-- 
Ph: +34.666334818                      web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44C0A94F.605>