1754324 Members
2750 Online
108813 Solutions
New Discussion юеВ

slackware NFS

 
SOLVED
Go to solution
jerry1
Super Advisor

slackware NFS

Does anyone know how to get NFS working on
Linux slackware correctly? Some mounts are
okay, others show mounted but no listing of
files/dirs. linux man page on autofs but no
autofs present on linux slackware server 2.6.22.

4 REPLIES 4
Steven E. Protter
Exalted Contributor
Solution

Re: slackware NFS

You need an /etc/exports file

exportfs -av

That will get you verbose output for any problems you have.

I'm asking that this be transferred to the Linux section where it belongs.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
jerry1
Super Advisor

Re: slackware NFS

Thanks Steve, but /etc/exports is for
exporting local filesystems. I need to
get automounter working on the linux box
to mount exported file systems from the UNIX nfs servers.

I currently have to use

automount yp

In the rc startup script.


I should have put more info in my email.
Sorry.

Angus Crome
Honored Contributor

Re: slackware NFS

Look at the man pages for mount, nfsd, exportfs, etc....

This sounds like an NFS version problem. You may have mis-matched NFS versions (client/server) which can cause all kinds of screwy things to happen. Anything from not mounting at all to data loss with bad NFS caching. I believe the setting for automounter is vers= and can be set to 2 or 3 (possibly 4), although it is not supported on all platforms yet.
There are 10 types of people in the world, those who understand binary and those who don't - Author Unknown
jerry1
Super Advisor

Re: slackware NFS

What I was able to determine is that
Slackware does not support nis maps
that use /- ( Direct Map ) and does
not work with auto_master map. Or at
least I was not able to figure out
how to tell the system to use auto_master.

Linux man pages are lacking at best.


My solution was to just put in rc.yp:

mount :

For every mount I needed. Instead of
using:

automount yp

How so old fashioned.