Solved

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

Posted on 2002-04-27
5
196 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 200 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

771 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now