[CentOS] NFS: hostname vs IP address

Akemi Yagi amyagi at gmail.com
Mon Nov 28 22:33:42 UTC 2011


On Mon, Nov 28, 2011 at 1:45 PM, Steve Thompson <smt at vgersoft.com> wrote:
> CentOS 5.7 x86_64. Lots of hosts NFS mounting a file system. All are
> configured identically (same LDAP servers, same DNS, same autofs config,
> same patches, etc). On some of them I see an NFS mount displaying a host
> name:
>
> % df -P | grep smt
> <hostname>:/mnt/foo 1651345888 264620688 1386725200  17% /fs/home/smt
>
> and on some just the IP address:
>
> % df -P | grep smt
> aa.bb.cc.dd:/mnt/foo 1651345888 264620688 1386725200  17% /fs/home/smt
>
> I cannot see any difference between the configuration of these two
> clients. Everything works. Anyone have a clue as to the source of this
> difference?

Yes. The version of autofs must be different. It's a known issue and
has been resolved in later versions of autofs. Please see:

https://bugzilla.redhat.com/show_bug.cgi?id=725536

Akemi



More information about the CentOS mailing list