[nSLUG] NFS Mounting

Peter Cordes peter at cordes.ca
Sat Sep 4 19:58:12 ADT 2004


On Sat, Sep 04, 2004 at 09:51:08AM -0300, Cody Harris wrote:
> On Sat, 4 Sep 2004 09:48:42 -0300 (ADT),
> Someone named Dop Ganger <nslug at fop.ns.ca> wrote:
> 
> > On Sat, 4 Sep 2004, Cody Harris wrote:
> > 
> > > root at vectec.net:~# statd
> > > bash: statd: command not found
> > > root at vectec.net:~# lockd
> > > bash: lockd: command not found
> > > root at vectec.net:~# mountd
> > > bash: mountd: command not found
> > > root at vectec.net:~# portmap
> > > bash: portmap: command not found
> > > root at vectec.net:~#
> > 
> > Try rpc.{statd,lockd,mountd,portmap}. If not, try apropos.

 It's not rpc.portmap, but the others are (on most systems).  According to
Debian's nfs-common init script, lockd is part of the kernel NFS server in
2.4 and later, so it checks and doesn't start it in that case.

 Yeah, I didn't actually mean run them by hand.  Those are just the strings
that should be there if you're grepping the output of ps.  You should start
them by running /etc/init.d/portmap start
/etc/init.d/nfs-common start
/etc/init.d/nfs start
or whatever you do on slackware.

 On my correctly-working system with a Linux 2.4 kernel, I have:
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root       450  0.0  0.0     0    0 ?        S    Apr13   1:00 [nfsd]
root       451  0.0  0.0     0    0 ?        S    Apr13   0:53 [nfsd]
root       452  0.0  0.0     0    0 ?        S    Apr13   0:53 [nfsd]
root       453  0.0  0.0     0    0 ?        S    Apr13   0:00 [lockd]
root       454  0.0  0.0     0    0 ?        S    Apr13   0:00 [rpciod]
root       455  0.0  0.0     0    0 ?        S    Apr13   0:58 [nfsd]
root       456  0.0  0.0     0    0 ?        S    Apr13   0:56 [nfsd]
root       457  0.0  0.0     0    0 ?        S    Apr13   0:56 [nfsd]
root       458  0.0  0.0     0    0 ?        S    Apr13   0:54 [nfsd]
root       459  0.0  0.0     0    0 ?        S    Apr13   0:59 [nfsd]
root       463  0.0  0.1  1920  612 ?        Ss   Apr13   0:01 /usr/sbin/rpc.mountd
root       502  0.0  0.0  1756  268 ?        Ss   Apr13   0:00 /sbin/rpc.statd
daemon    7127  0.0  0.0  1608  444 ?        Ss   Jun07   0:00 /sbin/portmap

 (wow, it took a long time to edit out all the other processes that were
running!).  You should have all of these.  Look around in your rc scripts
for the bits that start them correctly, in case they take any command line
args.

-- 
#define X(x,y) x##y
Peter Cordes ;  e-mail: X(peter at cor , des.ca)

"The gods confound the man who first found out how to distinguish the hours!
 Confound him, too, who in this place set up a sundial, to cut and hack
 my day so wretchedly into small pieces!" -- Plautus, 200 BC

!DSPAM:413a4888267551999917659!




More information about the nSLUG mailing list