From owner-freebsd-current Sat Apr 19 01:56:10 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA03432 for current-outgoing; Sat, 19 Apr 1997 01:56:10 -0700 (PDT) Received: from mail.crl.com (mail.crl.com [165.113.1.22]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id BAA03424 for ; Sat, 19 Apr 1997 01:56:07 -0700 (PDT) Received: from nlsystems.com (nlsys.demon.co.uk) by mail.crl.com with SMTP id AA24002 (5.65c/IDA-1.5 for ); Sat, 19 Apr 1997 01:48:14 -0700 Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.8.5/8.8.5) with SMTP id JAA05349; Sat, 19 Apr 1997 09:47:04 +0100 (BST) Date: Sat, 19 Apr 1997 09:47:04 +0100 (BST) From: Doug Rabson To: Randy Terbush Cc: Thomas David Rivers , current@freebsd.org Subject: Re: (*my* problems found...yours?) NFS problems - it doesn't appear to be ep0. In-Reply-To: <199704190050.TAA22403@sierra.zyzzyva.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Fri, 18 Apr 1997, Randy Terbush wrote: > > On Mon, 14 Apr 1997, Randy Terbush wrote: > > > > > > > > Since 2.2-GAMMA a new flag has been added to the sysctl. > > > By setting vfs.nfs.nfs_privport=0, NFS works fine. For some reason, > > > the NFS server is booting with vfs.nfs.nfs_privport=1. Can anyone > > > explain the use of this parameter? > > > > > > #> sysctl vfs > > > vfs.nfs.nfs_privport: 0 > > > vfs.nfs.async: 0 > > > vfs.nfs.defect: 0 > > > vfs.nfs.diskless_valid: 0 > > > vfs.nfs.diskless_rootpath: > > > vfs.nfs.diskless_swappath: > > > > This variable is set by mountd depending on whether or not you use the -n > > option to mountd. > > > > -- > > Doug Rabson Mail: dfr@nlsystems.com > > Nonlinear Systems Ltd. Phone: +44 181 951 1891 > > > I have a 2.2.1 box trying to mount another 2.2.1 box. I get the > following. In order to allow a mount, I need to change > vfs.nfs.nfs_privport=0. I am running 'mountd' _without_ a -n flag. How are you mounting the directory? If you are using mount_nfs, it should be using privileged ports by default. If amd, then you either need to add 'resvport' to the mount options in the amd map or change the server to allow non-privileged ports (which you have done). -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891