From: Neil Brown Subject: Re: Must statd be running before nfs client makes mounts? Date: Mon, 16 Sep 2002 10:00:11 +1000 Sender: nfs-admin@lists.sourceforge.net Message-ID: <15749.7947.298657.940521@notabene.cse.unsw.edu.au> References: <20020915225226.GI11002@perlsupport.com> <15749.5917.443602.600792@notabene.cse.unsw.edu.au> <20020915164956.A21841@lucon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Chip Salzenberg , nfs@lists.sourceforge.net Return-path: Received: from tone.orchestra.cse.unsw.edu.au ([129.94.242.28]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17qjJo-0001U6-00 for ; Sun, 15 Sep 2002 17:00:48 -0700 Received: From notabene.cse.unsw.edu.au ([129.94.242.45] == bartok.orchestra.cse.unsw.EDU.AU) (for ) (for ) (for ) By tone With Smtp ; Mon, 16 Sep 2002 10:00:23 +1000 To: "H. J. Lu" In-Reply-To: message from H. J. Lu on Sunday September 15 Errors-To: nfs-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: Discussion of NFS under Linux development, interoperability, and testing. List-Unsubscribe: , List-Archive: On Sunday September 15, hjl@lucon.org wrote: > On Mon, Sep 16, 2002 at 09:26:21AM +1000, Neil Brown wrote: > > > > (start devices, raid, etc) > > 1/ mount local filesystems > > (start network, bind, portmap) > > I am thinking to write a kernel patch to set nlm_udpport and > nlm_tcpport. The current scheme works only with module and /proc > won't work with module. I'd like to be able to set ports used by > lockd according to /etc/services. In my case, I have > > nlockmgr 3003/tcp > nlockmgr 3003/udp > > But I have to hard code them in my kernel. You shouldn't need to hard code them, kernel parameters: lockd.udpport=3003 lockd.tcpport=3003 should work fine (unless that is what you mean by hardcoding) However I don't see a problem with doing this via a sysctl, quite possibly a sysctl under /proc/sys/sunrpc/ (as it is an RPC service). NeilBrown ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs