[Samba] Re: samba oplocks not breaking

2008-06-22 Thread Brian May

Volker Lendecke wrote:

If both processes are Samba, the kernel oplock break
mechanism should not be involved at all. At least it is
supposed to work so that the oplock break is done with
messages between the smbds. Kernel oplocks are only for
interop with NFS and local unix processes. So if you're
seeing kernel oplock breaks for files just held by Samba,
Samba has a bug. If you can reproduce it, please file a bug
at bugzilla.samba.org and upload a debug level 10 log of
both smbd processes involved. Please also with debug hires
timestamps = yes.


I am not quite clear on this.

It would appear other Unix processes and other Samba processes are 
denied access to the file:


2008/06/19 15:24:08, 0] smbd/oplock.c:oplock_timeout_handler(351)
  Oplock break failed for file cur/config.xml -- replying anyway
[2008/06/19 15:24:51, 0] smbd/oplock.c:oplock_timeout_handler(351)
  Oplock break failed for file cur/profiles.xml -- replying anyway
[2008/06/19 15:25:21, 0] smbd/oplock.c:oplock_timeout_handler(351)
  Oplock break failed for file cur/profiles/vpac.xml -- replying anyway
[2008/06/19 15:25:51, 0] smbd/oplock.c:oplock_timeout_handler(351)
  Oplock break failed for file cur/hosts.xml -- replying anyway
[2008/06/19 15:26:21, 0] smbd/oplock.c:oplock_timeout_handler(351)
  Oplock break failed for file cur/hosts/vpac.xml -- replying anyway
[2008/06/19 15:26:51, 0] smbd/oplock.c:oplock_timeout_handler(351)
  Oplock break failed for file cur/packages.xml -- replying anyway
[2008/06/19 15:27:21, 0] smbd/oplock.c:oplock_timeout_handler(351)
  Oplock break failed for file cur/packages/winscp.xml -- replying anyway

Something strange going on here.

Yes, you are right, I probably will need to reproduce this with a higher 
level of debugging. Will try that now.


In one of my other messages I quoted the kernel stack trace, but I have 
been told that cannot be trusted; it could be using old data.


Brian May

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: samba oplocks not breaking

2008-06-22 Thread Brian May

Brian May wrote:
Yes, you are right, I probably will need to reproduce this with a higher 
level of debugging. Will try that now.


In one of my other messages I quoted the kernel stack trace, but I have 
been told that cannot be trusted; it could be using old data.


https://bugzilla.samba.org/show_bug.cgi?id=5557

Brian May

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: samba oplocks ...

2004-04-02 Thread Jeff umbach
What exactly are you trying to configure locking for?  Are you running a
network where the same files may be accessed at the same time?

Samba should have at least regular and level2 oplocks on be default.  I
don't believe kernel oplocks are on be default but they aren't needed unless
you're sharing a file that the linux system also writes to.

Keep in mind that for multi-user database stuff you do not want oplocks in
use with your database files.  I use the veto oplock files option to deal
with that.

All this and more can be found by typing 'man smb.conf' at the command line.

victor mejia vazquez [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

I've tried to configure samba to lock files bewteen windows and linux but i
couldn't i've
read a lot of messages here, but trere is no one that have something about
the file smb.conf.

i have this in my global secction but i doesn't work
[global]
workgroup = GMC
create mask = 0777
os level = 16
directory mask = 0777
hosts allow = 192.168.0., 127.
share modes = no
max log size = 1000
lock directory = /tmp/samba/lock
level2 oplocks = yes
strict locking = yes
kernel oplocks = Yes
blocking locks = Yes
fake oplocks = No
oplocks = Yes
level2 oplocks = Yes

can anybody give me suggestions, maybe someone has te same problem..

thank you

-
Estas vacaciones... no viajes sól@: http://www.muchagente.com
Ya.com ADSL Router Wi-Fi: Sólo 29,90 ?/mes + IVA*. Router + Antivirus y
firewall ¡Gratis!
http://ir.ya.com/app/redir?o=2prefix=p_ya_com_tgt810afiliado=footer

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba