From owner-freebsd-questions@FreeBSD.ORG Fri Jul 21 10:15:47 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41A1316A4DA for ; Fri, 21 Jul 2006 10:15:47 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from strange.daemonsecurity.com (59.Red-81-33-11.staticIP.rima-tde.net [81.33.11.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id B60CF43D53 for ; Fri, 21 Jul 2006 10:15:46 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [192.168.7.193] (68.Red-80-34-55.staticIP.rima-tde.net [80.34.55.68]) by strange.daemonsecurity.com (Postfix) with ESMTP id 92B222E035; Fri, 21 Jul 2006 12:15:44 +0200 (CEST) Message-ID: <44C0A94F.605@locolomo.org> Date: Fri, 21 Jul 2006 12:15:43 +0200 From: Erik Norgaard User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: David Landgren References: <44BF9E40.7090104@landgren.net> <20060720164601.GA71581@Grumpy.DynDNS.org> <44BFC0B4.5000108@landgren.net> <20060720183904.GA72155@Grumpy.DynDNS.org> <44C0A180.1040302@landgren.net> In-Reply-To: <44C0A180.1040302@landgren.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: David Kelly , freebsd-questions@freebsd.org Subject: Re: Connection refusal for an NFS mount X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jul 2006 10:15:47 -0000 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