[Samba] SOLVED - Oplocks not taking place at all unless fake oplocks = yes

Chris Wagner chriswagner at amyskitchen.net
Thu Jul 6 00:21:16 GMT 2006


The kernel on my server appears to be refusing oplocks altogether.  Setting 'kernel oplocks = no' resolved the issue.  Is there any caveats I should be aware of?

- Chris Wagner

-----Original Message-----
From: samba-bounces+chriswagner=amyskitchen.net at lists.samba.org
[mailto:samba-bounces+chriswagner=amyskitchen.net at lists.samba.org]On
Behalf Of Chris Wagner
Sent: Wednesday, July 05, 2006 12:11 PM
To: samba at lists.samba.org
Subject: RE: [Samba] Oplocks not taking place at all unless fake oplocks
= yes- Update


I've modified the contention limit in attempt to troubleshoot this, thinking that perhaps the client may be requesting multiple oplocks for whatever reason.  The client is still not getting an oplock without specifying 'fake oplocks = yes'.  I'm open to any ideas for troubleshooting.  I've also checked to see if oplocks are explicitly disabled on the client, and they are not.  I do experience this with more than one client as well, a Windows 2000 Professional client, and a Windows XP Professional client (inside a VMWare session).

TIA
- Chris Wagner

-----Original Message-----
From: samba-bounces+chriswagner=amyskitchen.net at lists.samba.org
[mailto:samba-bounces+chriswagner=amyskitchen.net at lists.samba.org]On
Behalf Of Chris Wagner
Sent: Thursday, June 29, 2006 8:54 AM
To: samba at lists.samba.org
Subject: [Samba] Oplocks not taking place at all unless fake oplocks =
yes


Hi folks I'm running two Samba servers.  One is on Ubuntu 5.10
(samba-3.0.14a-6ubuntu1), the other is SuSE Linux Enterprise Server
(samba-3.0.20b-3.4).  The Ubuntu box is on my local network, and the
SLES box is across a WAN with an intervening WAFS appliance with TCP
acceleration.

Neither set-up seems to grant an oplock to the client unless I turn on
'fake oplocks'.  I've set 'oplocks = yes' and 'locking = yes' explicitly
in my config file to no avail.

Obviously, 'fake oplocks' isn't something I want to turn on in a
production environment.  I'm looking for some help in narrowing down
where the problem lies.

Thanks in advance.

--
Christopher Wagner
Amy's Kitchen - http://www.amys.com/
chriswagner at amyskitchen.net
Sr. Systems Administrator

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

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



More information about the samba mailing list