All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Re: NFS lock reclaiming not working on SLES9 SP2
@ 2006-02-17 10:48 asha  yr
  2006-02-17 11:07 ` Olaf Kirch
  2006-02-20 11:00 ` Greg Banks
  0 siblings, 2 replies; 3+ messages in thread
From: asha  yr @ 2006-02-17 10:48 UTC (permalink / raw)
  To: Greg Banks; +Cc: Linux NFS Mailing List, Olaf Kirch

[-- Attachment #1: Type: text/plain, Size: 5122 bytes --]

Hi,

I am comparing the working of NFS lock recovery feature on different updates of SLES9 and Redhat4. So I dont want to test the feature by applying any patch. Anyway, thanks for the patch.

I tried mounting NFS file system using hostname on client. After sending notifications, sm-notify clears sm directory. Then the sm directory should get updated freshly with the client information. This is not happening.

The debugging messages of lockd on server and client are:

on client side
Feb 17 16:10:07 sgmlx2 kernel: NFS lockd/statd started (ver 0.5).
Feb 17 16:10:23 sgmlx2 kernel: lockd: request from 0f46bfac
Feb 17 16:10:23 sgmlx2 kernel: lockd: nlm_host_rebooted("sgmlx1")
Feb 17 16:10:30 sgmlx2 kernel: lockd: nlm_lookup_host(0f46bfac, p=6, v=4, my role=client, name=sgmlx1)
Feb 17 16:10:30 sgmlx2 kernel: lockd: host garbage collection
Feb 17 16:10:30 sgmlx2 kernel: lockd: nlmsvc_mark_resources
Feb 17 16:10:30 sgmlx2 kernel: lockd: nlm_bind_host(0f46bfac)
Feb 17 16:11:00 sgmlx2 last message repeated 3 times
Feb 17 16:11:00 sgmlx2 kernel: lockd: release host sgmlx1
Feb 17 16:11:00 sgmlx2 kernel: lockd: get host sgmlx1
Feb 17 16:11:48 sgmlx2 kernel: lockd: request from 0f46bfac
Feb 17 16:11:48 sgmlx2 kernel: lockd: nlm_host_rebooted("sgmlx1")
Feb 17 16:11:48 sgmlx2 kernel: lockd: rebind host sgmlx1
Feb 17 16:11:48 sgmlx2 kernel: lockd: get host sgmlx1
Feb 17 16:11:48 sgmlx2 kernel: lockd: release host sgmlx1
Feb 17 16:11:48 sgmlx2 kernel: nlmsvc_retry_blocked(00000000, when=0)
Feb 17 16:11:48 sgmlx2 kernel: lockd: nlm_bind_host(0f46bfac)
Feb 17 16:11:48 sgmlx2 kernel: lockd: release host sgmlx1


on server side
Feb 17 21:47:34 sgmlx1 kernel: NFS lockd/statd started (ver 0.5).
Feb 17 21:47:52 sgmlx1 rpc.mountd: authenticated mount request from sgmlx2.india.hp.com:970 for /test (/test)
Feb 17 21:48:15 sgmlx1 kernel: lockd: request from 0f46bfad
Feb 17 21:48:30 sgmlx1 kernel: lockd: request from 0f46bfad
Feb 17 21:48:30 sgmlx1 kernel: nlmsvc_retry_blocked(00000000, when=0)
Feb 17 21:48:45 sgmlx1 kernel: lockd: request from 0f46bfad
Feb 17 21:48:45 sgmlx1 kernel: lockd: nlm_lookup_host(0f46bfad, p=6, v=4, my role=server, name=sgmlx2)
Feb 17 21:48:45 sgmlx1 kernel: lockd: host garbage collection
Feb 17 21:48:45 sgmlx1 kernel: lockd: nlmsvc_mark_resources
Feb 17 21:48:45 sgmlx1 kernel: lockd: nlm_file_lookup(06000001 01006800 00025489 00012f4e 00025489 0002da54)
Feb 17 21:48:45 sgmlx1 kernel: lockd: creating file for (06000001 01006800 00025489 00012f4e 00025489 0002da54)
Feb 17 21:48:45 sgmlx1 kernel: lockd: found file f5070e00 (count 0)
Feb 17 21:48:45 sgmlx1 kernel: lockd: nlmsvc_lock(cciss/c0d0p1/77646, ty=1, pi=6733, 0-9223372036854775807, bl=0)
Feb 17 21:48:45 sgmlx1 kernel: lockd: nlmsvc_lookup_block f=f5070e00 pd=6733 0-9223372036854775807 ty=1
Feb 17 21:48:45 sgmlx1 kernel: lockd: posix_lock_file returned 0
Feb 17 21:48:45 sgmlx1 kernel: lockd: release host sgmlx2
Feb 17 21:48:45 sgmlx1 kernel: lockd: nlm_release_file(f5070e00, ct = 1)
Feb 17 21:48:45 sgmlx1 kernel: nlmsvc_retry_blocked(00000000, when=0)
Feb 17 21:48:45 sgmlx1 kernel: nlmsvc_retry_blocked(00000000, when=0)
Feb 17 21:49:27 sgmlx1 kernel: lockd: nlmsvc_free_host_resources
Feb 17 21:49:27 sgmlx1 kernel: lockd: release host sgmlx2
Feb 17 21:49:33 sgmlx1 kernel: lockd: request from 0f46bfad
Feb 17 21:49:33 sgmlx1 kernel: lockd: nlm_lookup_host(0f46bfad, p=6, v=4, my role=server, name=sgmlx2)
Feb 17 21:49:33 sgmlx1 kernel: lockd: nlm_file_lookup(06000001 01006800 00025489 00012f4e 00025489 0002da54)
Feb 17 21:49:33 sgmlx1 kernel: lockd: creating file for (06000001 01006800 00025489 00012f4e 00025489 0002da54)
Feb 17 21:49:33 sgmlx1 kernel: lockd: found file f5070000 (count 0)
Feb 17 21:49:33 sgmlx1 kernel: lockd: nlmsvc_lock(cciss/c0d0p1/77646, ty=1, pi=6733, 0-9223372036854775807, bl=0)
Feb 17 21:49:33 sgmlx1 kernel: lockd: nlmsvc_lookup_block f=f5070000 pd=6733 0-9223372036854775807 ty=1
Feb 17 21:49:33 sgmlx1 kernel: lockd: posix_lock_file returned 0
Feb 17 21:49:33 sgmlx1 kernel: lockd: release host sgmlx2
Feb 17 21:49:33 sgmlx1 kernel: lockd: nlm_release_file(f5070000, ct = 1)

Regards,
Asha

On Fri, 17 Feb 2006 Greg Banks wrote :
>On Fri, 2006-02-17 at 20:56, Olaf Kirch wrote:
> > It seems the problem is that we're now using hostnames to identify lockd
> > peers, but you mounted the file system using the ipaddr:/path.
>
>Indeed, well caught.  I missed the significance of name=...
>
>Greg.
>--
>Greg Banks, R&D Software Engineer, SGI Australian Software Group.
>I don't speak for SGI.
>
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>for problems?  Stop!  Download the new AJAX search engine that makes
>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
>_______________________________________________
>NFS maillist  -  NFS@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/nfs

[-- Attachment #2: Type: text/html, Size: 5947 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-02-20 11:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-17 10:48 Re: NFS lock reclaiming not working on SLES9 SP2 asha  yr
2006-02-17 11:07 ` Olaf Kirch
2006-02-20 11:00 ` Greg Banks

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.