File Locking Issues/Oplock problems

Jon E. Mitchiner jon at minotaur.com
Mon Feb 14 01:33:07 GMT 2000


Im running an accounting package (Sage Businessworks) and I'm running into
issues with file locking with this program when I put the businessworks data
files on a Samba file share.  I'd like to get it off a NT file share if at
all possible as Im about to decommission our NT server.  Im running Samba
2.0.6

Im seeing errors from any machine accessing the Accounting data:

==> log.ryan leon <==
[2000/02/13 20:08:44, 1] smbd/service.c:make_connection(535)
  ryan leon (216.200.101.197) connect to service Accounting as user ryan
(uid=503, gid=503) (pid 9537)
[2000/02/13 20:09:15, 0] smbd/oplock.c:oplock_break(974)
  oplock_break: receive_smb timed out after 30 seconds.
  oplock_break failed for file config.mdf (dev = 902, inode = 97110).
[2000/02/13 20:09:15, 0] smbd/oplock.c:oplock_break(1048)
  oplock_break: client failure in oplock break in file config.mdf
[2000/02/13 20:10:19, 0] smbd/oplock.c:oplock_break(974)
  oplock_break: receive_smb timed out after 30 seconds.
  oplock_break failed for file Bwsem.fil (dev = 902, inode = 97109).
[2000/02/13 20:10:19, 0] smbd/oplock.c:oplock_break(1048)
  oplock_break: client failure in oplock break in file Bwsem.fil

==> log.smb <==
[2000/02/13 20:08:09, 1] smbd/files.c:file_init(216)
  file_init: Information only: requested 10000 open files, 1014 are
available.

This was with the following config modes of relevance in smb.conf:

---
   share modes = yes
   lock directory = /var/lock/samba
   strict locking = yes
   level2 oplocks = True

[Accounting]
   comment = Accounting Data
   path = /home/Accounting
   public = yes
   writable = yes
   printable = no

----

Any suggestions or advice would be greatly appreciated.

Thanks!
Jon Mitchiner
ICQ # 21030881
AIM # MinotaurT



More information about the samba mailing list