Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2002-04-27
5
Medium Priority
?
251 Views
Last Modified: 2012-05-04
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.


0
Comment
Question by:mkaisertr08
5 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 600 total points
ID: 6976962
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
 
LVL 40

Expert Comment

by:jlevie
ID: 6977193
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
 
LVL 40

Expert Comment

by:jlevie
ID: 6977195
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
 
LVL 2

Expert Comment

by:pheur
ID: 6983161
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
 

Author Comment

by:mkaisertr08
ID: 6984678
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

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses
Course of the Month21 days, 7 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question