[lug] nfs linux ppp

Hugh Brown hugh at vecna.com
Sat Sep 8 08:58:48 MDT 2001


netfs doesn't start the nfs server, it goes through /etc/fstab and mounts
all of the nfs mounts.

On jserv

as was noted, you need a valid /etc/exports e.g.

/some/dir/you/want/to/share  jserv2(rw)

jserv2 will need to be in /etc/hosts on jserv and vice-versa for jserv2.

Then you need to run the following on jserv

/etc/rc.d/init.d/portmap start
/etc/rc.d/init.d/nfs start

if it doesn't start, then there is a problem with your nfs setup.  Your
kernel may not have support compiled in, go looking in /var/log/messages
for clues.


If it does start, then you can go to jserv2 and from the command line try
this:

/etc/rc.d/init.d/portmap start
/etc/rc.d/init.d/nfslock start
mount jserv:/some/dir/you/want/to/share /some/mount/point

once that is successful, then you put it in your /etc/fstab

the nfs daemon runs as nfsd
nfslock runs as rpc.statd and rpc.lockd
portmap runs as portmap

Hugh

"Jason"
> 
> thanks...now im getting a liitle further! the portmap command worked...
> the nfs start for mandrake is netfs..if u use nfs start it wont work...any
> way when i do all this im not seeing a new mounted drive...when i type
> mount jserv:/etc...i get the responce rpc cant connetc..connection refused
> when i type service netfs start on the client(jserv2) i get...
> mounting nfs filesystems: mount: cant get address for //192.168.1.55/
> that ip is the server (jserv). what should be running for nfs under ps or
> rpc info...please help!!  this is a eithernet network using a 4 port hub
> and 10/100 nic.
> 
>                                      thanks
>                                        jd
>                                      jdavis at cyberspace.org



More information about the LUG mailing list