Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 2004 21:00:49 -0500 (EST)
From:      matthew <matthew@netway.com>
To:        Chad M Stewart <cms@balius.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mountd acting strangely
Message-ID:  <20040211205917.Y7339@admin1.mdc.net>
In-Reply-To: <8C14A306-5CFD-11D8-B84C-000A959CF11A@balius.com>
References:  <8C14A306-5CFD-11D8-B84C-000A959CF11A@balius.com>

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


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"
>



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