Bug 20468
Summary: | can't export fs to multiple hosts | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | hulst <hulst> |
Component: | nfs-server | Assignee: | Michael K. Johnson <johnsonm> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | CC: | dr |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-01-17 08:57:01 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
hulst
2000-11-07 14:30:21 UTC
It works for me. In a network at the university, I export to: *.lsd.ic.unicamp.br(rw) and it works just fine. Maybe it's some problem with reverse DNS, that causes the NFS server to reject the mount? Do you have any messages about rejected mounts in /var/log/messages? The server deepserv9.argoss.nl: [root@deepserv9 /etc]# exportfs /home/argoss *.argoss.nl It is exported (rw) The client geosat.argoss.nl: [root@geosat deepserv9]# mount deepserv9:/home/argoss argoss mount: deepserv9:/home/argoss failed, reason given by server: Permission denied /var/log/messages of server mumbles: Jan 17 08:46:18 deepserv9 rpc.mountd: refused mount request from geosat for /home/argoss (/): no export entry Err, I found what the problem was. Mr Johnson mentioned reverse DNS, and that started me thinking about the way the client identified itself on a server and what the server did with that. A client identifies itself by IP, whereafter the server resolves it in the order configured in host.conf. And there is the difference between my old situation and the new one. On my old server I resolve with DNS, my new first looks in /etc/hosts wherein I have put hostnames without the argoss.nl part. So, nfs, who has an export for *.argoss.nl resolves the IP of my computer and finds geosat instead of geosat.argoss.nl. No match, error. Apologies for the inconvinience and thanks for all the fish :-) (Hitchhikers Guide to the Galaxy) Hi, I fiddled some more with this, and I found out a strange thing. Because of the theory I mentioned above I've set my resolving order to bind only. But as it seems, the NFS server still checks the host first, regardless of what is set in /etc/host.conf. I'm sure of this, because when I set my hostname alone in the /etc/hosts file, a mount request fails, but when I either put my host name + domain in /etc/hosts or totaly remove the entry, it works. The latter tells that it does check bind, but after the hosts file. Should we call it a bug or a nasty habbit? |