From owner-freebsd-questions@FreeBSD.ORG Wed Feb 11 18:01:04 2004 Return-Path: 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 1FF4F16A4CE for ; Wed, 11 Feb 2004 18:01:04 -0800 (PST) Received: from smtp-2.mdc.net (smtp-2.mdc.net [209.251.64.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id A174843D1D for ; Wed, 11 Feb 2004 18:01:03 -0800 (PST) (envelope-from matthew@netway.com) Received: from admin1.mdc.net (admin1.mdc.net [209.251.64.23]) by smtp-2.mdc.net (8.9.3/8.9.1) with ESMTP id VAA34148; Wed, 11 Feb 2004 21:00:53 -0500 (EST) (envelope-from matthew@netway.com) Date: Wed, 11 Feb 2004 21:00:49 -0500 (EST) From: matthew X-X-Sender: matthew@admin1.mdc.net To: Chad M Stewart In-Reply-To: <8C14A306-5CFD-11D8-B84C-000A959CF11A@balius.com> Message-ID: <20040211205917.Y7339@admin1.mdc.net> References: <8C14A306-5CFD-11D8-B84C-000A959CF11A@balius.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: mountd acting strangely X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2004 02:01:04 -0000 On Wed, 11 Feb 2004, Chad M Stewart wrote: > > Maybe someone can shed some light on this one for me. I'm using > FreeBSD as the nfs server and Mac OS X (10.3.2) as the client. If I > boot the FreeBSD box, then I am unable to mount from my Mac. However > if I simply restart mountd on the server then the client can perform > the mount. > > FreeBSD clio 4.9-RELEASE-p2 FreeBSD 4.9-RELEASE-p2 #1: Thu Feb 5 > 14:43:00 EST 2004 root@clio:/usr/obj/usr/src/sys/CUSTOM.1 i386 > > > Feb 11 20:41:39 clio /kernel: NFS request from unprivileged port > (192.168.1.199:53390) > > bash-2.05b# ps ax|grep mountd > 78 ?? Ss 0:00.00 mountd -n > bash-2.05b# kill -TERM 78 > bash-2.05b# mountd -n > > bash-2.05b# grep mount /etc/rc.conf > mountd_flags="-n" # Flags to mountd (if NFS server > enabled). > > > It is not a fluke thing, it is repeatable, i.e. reboot the server. > According to man page when one runs mountd -n it auto clears vfs.nfs.nfs_privport sysctl flag. By some chance do you set that flag to 1 on each startup? sysctl -a | grep vfs.nfs.nfs_privport after a clean reboot will tell you. If set, killing mountd and restarting it would clear it. m > > Thanks, > Chad > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >