nfs exports works only with single hosts , no exports to networks

hi ,
i've a suse linux 6.2 system with a admin server (dns, yp, ..)
and a file+application server.
i'd like to exports nfs shares to multiple hosts by using options like
@ypdomain
*.local.domain
network/netmask

but i can only export to single hosts, otherwise i get RPC timeouts.
sometimes it helps to restart the nfsserver and wait 3 minutes.
???
yp and dns works fine  although.


mkaisertr08Asked:
Who is Participating?
 
ahoffmannConnect With a Mentor Commented:
found the same problem on my linux server.
AFAIK the culprit is Linux's incomplete/buggy implementation of NFS (Protocol) V3.
Have tested wih NFS V4, and it works there.
I'm not shure with NFS V2, but I assume that it's buggy too.
0
 
jlevieCommented:
I'd agree with ahoffman, none of those methods seem to work with the current linux implementation. Two viable work arounds for the problem are:

1) export the volumes with no host restrictions.

2) explicitly list each host that's allowed access to the volumes.
0
 
jlevieCommented:
I'd agree with ahoffman, none of those methods seem to work with the current linux implementation. Two viable work arounds for the problem are:

1) export the volumes with no host restrictions.

2) explicitly list each host that's allowed access to the volumes.
0
 
pheurCommented:
Are you guys talking about the kernel-based NFS server ? Because the userspace one does work with those configs (not tested with netgroups, but ok with the other 2).

--
Radu-Adrian Feurdean
Brainbench Linux MVP
0
 
mkaisertr08Author Commented:
ahoffmann 's hint shows the right way.
although on linux 6.2 i have a 2.2.10 kernel and therefore have to
get and patch the 2.4.4 sources i will do that rather than
using the userspace version, because this is not recommended
(kernel based nfs performes better).

thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.