🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.sysadmin
Article #607

Re: More on NFS Export problems

#607
From: Paul Woods
Date: Thu, 16 Apr 1992 20:10
59 lines
3273 bytes
In article <1992Apr8.160553.29408@oceania.com> john@oceania.com (John Robison)  
writes:
> Elmar Knipp writes
> > >1. Make sure machine 2 is in the host tables
> > >2. Make sure that I have run "exportfs" on machine 1 
> > >Any other sugestions would be greatly appreciated.
> > I am not sure, but I think that you had to reboot 
> > a NeXT to make changes in /etc/export are recognized
> > from NFS-Server.
> The rule is this:
> On boot, the NeXT checks to see if there is anything to export, based
> on the contents of the /ets/exports file. If this file is missing (or
> empty??), the NeXT does NOT run the special daemons (nfsd, ...) to handle
> nfs mounts. 
> 
> So...
> 
> If you add a /etc/exports file to a running NeXT, the easiest thing to
> do is re-boot the computer. I have tried to figure out which daemons
> to run, and tried to remember, but it is really easier to just re-boot.

I am pretty sure that the only daemons that you need to start are the following  
(although I could be missing a few)  Also note that unless you plan on using  
NIS, I don't think that you need to start ypserv & ypbind (if you are using NIS,  
They start up automatically so there is no reason to add them to you  
/etc/rc.local)

USER       PID  %CPU %MEM VSIZE RSIZE TT STAT  TIME COMMAND
root       732  12.2  8.6 1.77M  704K p2 R     0:00 ps aux
root        57   0.0  2.9 6.37M  240K ?  S N   0:05 /usr/etc/nmserver
root        61   0.0  1.8 1.23M  144K ?  SW    0:00 /usr/etc/portmap
root        64   0.0  2.5 1.25M  208K ?  SW    0:00 /usr/etc/nibindd
root        65   0.0  3.7 1.29M  304K ?  S     0:25 /usr/etc/netinfod local
root        68   0.0  2.6 1.26M  216K ?  SW    0:17 /usr/etc/ypserv
root        71   0.0  2.1 1.23M  168K ?  SW    0:00 /usr/etc/ypbind
root        74   0.0  3.7 1.33M  304K ?  S     0:45 /usr/etc/lookupd
root        88   0.0  0.9 1.31M   72K ?  S     0:00 /usr/etc/biod 8
root       119   0.0  1.6 1.41M  128K ?  SWN   0:00 /usr/etc/autodiskmount
root       129   0.0  2.7 1.27M  224K ?  SW    0:00 /usr/etc/autonfsmount -tm 1
root       133   0.0  1.5 1.23M  120K ?  S     0:34 /usr/etc/nfsd 8

(when you start /usr/etc/nfsd, the default will be 4 and not 8.-and there will  
be 4 of them running not just one like in this post)

root       143   0.0  2.0 1.24M  160K ?  SW    0:00 /usr/etc/rpc.mountd
root       150   0.0  2.0 1.25M  160K ?  SW    0:02 /usr/etc/rpc.pcnfsd /
> 
> After the re-boot, the NeXT will be running everything necessary to 
> support nfs mounting. (Note that Sun servers also exhibit this
> "feature" for their nfs daemons.)
> 
> Hope this helps...
> 
> John
> -- 
> John Robison
> john@oceania.com
> Oceania Health Care Systems
> NeXTMail Gladly Accepted
Technical Details
Message-ID: <1992Apr16.201039.19704@midway.uchicago.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!linac!uchinews!news
References: <1992Apr8.160553.29408@oceania.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!linac!uchinews!news
From: eer1@midway.uchicago.edu(Paul Woods)
Subject: Re: More on NFS Export problems
Message-ID: <1992Apr16.201039.19704@midway.uchicago.edu>
Sender: news@uchinews.uchicago.edu (News System)
Reply-To: eer1@midway.uchicago.edu
Organization: University of Chicago Computing Organizations
References: <1992Apr8.160553.29408@oceania.com>
Date: Thu, 16 Apr 1992 20:10:39 GMT
Lines: 59