Bug 1270349
Summary: | NFS mount uses incorrect hostname | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | stein |
Component: | nfs-utils | Assignee: | Steve Dickson <steved> |
Status: | CLOSED NOTABUG | QA Contact: | Filesystem QE <fs-qe> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.1 | CC: | kzak, stein |
Target Milestone: | rc | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-09-12 13:39:36 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
stein
2015-10-09 17:59:10 UTC
(In reply to stein from comment #0) > Description of problem: > Specify 2 NFS mount entries in /etc/fstab, each with a DNS hostname for the > server name. > > If 2 different DNS hostnames are specified but both hostnames point to the > same IP address, the mount command will use the DNS hostname associated with > the first filesystem that is mounted, rather than the hostname specified for > each entry. > > The output of the df command also shows the incorrect hostname that does not > match the /etc/fstab entry Why in the world would you want two hostnames pointing to the same IP address... That is a DNS misconfiguration... IMHO... (In reply to Steve Dickson from comment #3) > (In reply to stein from comment #0) > > Description of problem: > > Specify 2 NFS mount entries in /etc/fstab, each with a DNS hostname for the > > server name. > > > > If 2 different DNS hostnames are specified but both hostnames point to the > > same IP address, the mount command will use the DNS hostname associated with > > the first filesystem that is mounted, rather than the hostname specified for > > each entry. > > > > The output of the df command also shows the incorrect hostname that does not > > match the /etc/fstab entry > > Why in the world would you want two hostnames pointing to the same IP > address... That is a DNS misconfiguration... IMHO... How is having 2 DNS names pointing to the same IP address a DNS misconfiguration? DNS allows this. You can have 2 services running on the same server, each with a different hostname. This problem does not occur in RHEL5 or RHEL6. This bug was introduced in RHEL7. (In reply to stein from comment #4) > (In reply to Steve Dickson from comment #3) > > > How is having 2 DNS names pointing to the same IP address a DNS > misconfiguration? DNS allows this. You can have 2 services running on the > same server, each with a different hostname. What would be the purpose of having a configuration like this? Cluster failover or something? A service has a file share associated with it. That service has multiple instances - dev, qa, prod. The file share for dev has a DNS name of dev.fileshare.example.com The file share for qa has a DNS name of qa.fileshare.example.com The file share for prod has a DNS name of prod.fileshare.example.com dev.fileshare.example.com & qa.fileshare.example.com share the same server so they both resolve to 192.168.1.1 prod.fileshare.example.com is on its own server and resolves to to 192.168.11.1 have you tried the 'nosharecache' mount option? Using the legacy caching behavior of 'nosharecache' resolves this. Closing due to Comment 9 |