Red Hat Bugzilla – Bug 505540
statd: Hostname mismatch causing problems between RHEL and NetApp
Last modified: 2010-10-23 06:04:28 EDT
A notify request sent by a client is being ignored by the server resulting in unclaimed file locks on the server. The client in this case is a RHEL and the NFS server a Netapp server. The problem appears to be caused by a mismatch in the hostnames used by lockd and by statd.
The hostname on the server is set to a short name(ex: test). This short name is used by lockd when setting the hostname from which the locks were requested.
The /etc/hosts is setup in such a way that a FQDN(ex: test.example.com) is returned by gethostbyaddr(). This is used by statd on the client when notifying servers that the machine has rebooted.
This is causing a problem on their Netapp servers which expects the same hostname used to set the locks and in by statd.
This is a request to have the statd and the lockd to use the same source for setting hostnames.