From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.7.12-1.3.1 Description of problem: Hi, NFS lock reclaiming is not working on Redhat4 Update3. I restarted statd on NFS server and tried to capture lockd debugging messages on NFS client. I observe that callback on client is failing. Can you please let me know what it means? Debugging messages of lockd(/var/log/messages) Feb 10 09:47:44 sgmlx2 kernel: device eth0 entered promiscuous mode Feb 10 09:47:48 sgmlx2 kernel: lockd: nlm_lookup_host(0f46bfac, p=6, v=4) Feb 10 09:47:48 sgmlx2 kernel: lockd: host garbage collection Feb 10 09:47:48 sgmlx2 kernel: lockd: nlmsvc_mark_resources Feb 10 09:47:48 sgmlx2 kernel: lockd: delete host 15.70.191.172 Feb 10 09:47:48 sgmlx2 kernel: lockd: nsm_unmonitor(15.70.191.172) Feb 10 09:47:48 sgmlx2 kernel: lockd: creating host entry Feb 10 09:47:48 sgmlx2 kernel: lockd: nlm_bind_host(0f46bfac) Feb 10 09:47:48 sgmlx2 kernel: lockd: get host 15.70.191.172 Feb 10 09:47:48 sgmlx2 kernel: lockd: nsm_monitor(15.70.191.172) Feb 10 09:47:48 sgmlx2 kernel: nsm: xdr_decode_stat_res status 0 state 129 Feb 10 09:47:48 sgmlx2 kernel: lockd: nlm_bind_host(0f46bfac) Feb 10 09:47:48 sgmlx2 kernel: lockd: release host 15.70.191.172 Feb 10 09:48:01 sgmlx2 kernel: lockd: request from 7f000001 Feb 10 09:48:01 sgmlx2 kernel: nlmsvc_retry_blocked(00000000, when=0) Feb 10 09:48:01 sgmlx2 kernel: nlmsvc_retry_blocked(00000000, when=0) Feb 10 09:48:01 sgmlx2 rpc.statd[2292]: recv_rply: [127.0.0.1] RPC status 1 Feb 10 09:48:07 sgmlx2 kernel: lockd: request from 7f000001 Feb 10 09:48:07 sgmlx2 kernel: nlmsvc_retry_blocked(00000000, when=0) Feb 10 09:48:07 sgmlx2 kernel: nlmsvc_retry_blocked(00000000, when=0) Feb 10 09:48:07 sgmlx2 rpc.statd[2292]: recv_rply: [127.0.0.1] RPC status 1 Feb 10 09:48:13 sgmlx2 kernel: lockd: request from 7f000001 Feb 10 09:48:13 sgmlx2 kernel: nlmsvc_retry_blocked(00000000, when=0) Feb 10 09:48:13 sgmlx2 kernel: nlmsvc_retry_blocked(00000000, when=0) Feb 10 09:48:13 sgmlx2 rpc.statd[2292]: recv_rply: [127.0.0.1] RPC status 1 Feb 10 09:48:19 sgmlx2 kernel: lockd: request from 7f000001 Feb 10 09:48:19 sgmlx2 kernel: nlmsvc_retry_blocked(00000000, when=0) Feb 10 09:48:19 sgmlx2 kernel: nlmsvc_retry_blocked(00000000, when=0) Feb 10 09:48:19 sgmlx2 rpc.statd[2292]: recv_rply: [127.0.0.1] RPC status 1 Feb 10 09:48:25 sgmlx2 rpc.statd[2292]: Can't callback 127.0.0.1 (100021,4), giving up. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Have client create a file lock on an NFS mounted fs. 2. restart the rpc.statd on the server (i.e. service nfslock restart) Actual Results: The client does not send a another LOCK request reclaiming its lock Expected Results: The client should resend a LOCK request to reclaim its lock. Additional info:
Created attachment 124896 [details] Prpposed patch The attached patch is needed to fix this problem
Created attachment 124900 [details] Repost of proposed patch Removed some "Hello world" debugging
this bug should be in the modified state afaict...changing.
This issue is on Red Hat Engineering's list of planned work items for the upcoming Red Hat Enterprise Linux 4.4 release. Engineering resources have been assigned and barring unforeseen circumstances, Red Hat intends to include this item in the 4.4 release.
*** Bug 171324 has been marked as a duplicate of this bug. ***
*** Bug 139101 has been marked as a duplicate of this bug. ***
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2006-0575.html