mountd acting strangely
matthew at netway.com
Wed Feb 11 18:01:04 PST 2004
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 at clio:/usr/obj/usr/src/sys/CUSTOM.1 i386
> Feb 11 20:41:39 clio /kernel: NFS request from unprivileged port
> 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
> 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.
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions