[Samba] Problem with Samba and NFS on Windows XP

Andreas Kootz kootz at physik.uni-wuppertal.de
Thu Jul 24 12:08:46 GMT 2003


Dear all,

I have a samba server which gets on directory via NFS from another 
server. This NFS imported directory is shared from samba with readwrite 
access. When I open a word-document with Microsoft Winword on Windows NT 
4 everything works fine. But when I work with Windows XP it takes a long 
time to open the file and a long time to save it. On the samba-server I 
get the following log:

[2003/07/23 10:40:44, 0] locking/posix.c:posix_fcntl_lock(657)
  posix_fcntl_lock: WARNING: lock request at offset 2147483539, length 1 
returned
[2003/07/23 10:40:44, 0] locking/posix.c:posix_fcntl_lock(658)
  an No locks available error. This can happen when using 64 bit lock 
offsets
[2003/07/23 10:40:44, 0] locking/posix.c:posix_fcntl_lock(659)
  on 32 bit NFS mounted file systems.
[2003/07/23 10:40:44, 0] locking/posix.c:posix_fcntl_lock(657)
  posix_fcntl_lock: WARNING: lock request at offset 2147483539, length 1 
returned
[2003/07/23 10:40:44, 0] locking/posix.c:posix_fcntl_lock(658)
  an No locks available error. This can happen when using 64 bit lock 
offsets
[2003/07/23 10:40:44, 0] locking/posix.c:posix_fcntl_lock(659)
  on 32 bit NFS mounted file systems.
[2003/07/23 10:40:44, 0] locking/posix.c:posix_fcntl_lock(657)
  posix_fcntl_lock: WARNING: lock request at offset 2147483539, length 1 
returned
[2003/07/23 10:40:44, 0] locking/posix.c:posix_fcntl_lock(658)
  an No locks available error. This can happen when using 64 bit lock 
offsets
[2003/07/23 10:40:44, 0] locking/posix.c:posix_fcntl_lock(659)
  on 32 bit NFS mounted file systems.
[2003/07/23 10:41:14, 0] smbd/oplock.c:oplock_break(797)
  oplock_break: receive_smb timed out after 30 seconds.
  oplock_break failed for file ~WRL0784.tmp (dev = 13, inode = 274737, 
file_id = 19).
[2003/07/23 10:41:14, 0] smbd/oplock.c:oplock_break(869)
  oplock_break: client failure in oplock break in file ~WRL0784.tmp
[2003/07/23 10:41:21, 1] lib/debug.c:debug_message(258)
  INFO: Debug class all level = 1   (pid 15769 from pid 15769)
[2003/07/23 10:41:56, 1] smbd/service.c:close_cnum(684)
  ibmlap2 (132.195.104.192) closed connection to service H
[2003/07/23 10:41:56, 0] smbd/server.c:main(791)
  smbd version 2.2.8a-SuSE started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2003/07/23 10:41:56, 1] lib/debug.c:debug_message(258)
  INFO: Debug class all level = 1   (pid 16873 from pid 16873)
[2003/07/23 10:41:56, 1] smbd/service.c:make_connection(636)
  ibmlap2 (132.195.104.192) connect to service H as user kootz 
(uid=1552, gid=100) (pid 16873)
[2003/07/23 10:42:21, 1] lib/debug.c:debug_message(258)
  INFO: Debug class all level = 1   (pid 15867 from pid 15867)
[2003/07/23 10:42:27, 1] lib/debug.c:debug_message(258)
  INFO: Debug class all level = 1   (pid 15872 from pid 15872)

So it seams to be a locking-problem. I tried kernel oplocks (=yes and 
=no) and also oplocks. But nothing helped. What is my problem???

Thanks
Andreas





More information about the samba mailing list