[Samba] STATUS_INVALID_LOCK_SEQUENCE when writing to a file....
Jeremy Allison
jra at samba.org
Thu Nov 16 22:22:21 GMT 2006
On Thu, Nov 16, 2006 at 02:42:57PM -0500, Brian Cowan wrote:
> [Note to moderator, I couldn't remember which email account I subscribed
> to this list from. Sorry...]
>
> Hi All,
>
> Have any of you seen this little darling of an error on writing to a
> file? The sequence of events goes something like this:
> 1) File is opened for reading on a Samba server with oplocks disabled.
> Open request is requesting a batch oplock.
> 2) File open SUCCEEDS. (Should this have happened?)
> 3) File is read, stat'd etc. over and over.
> 4) A request comes through to write to the file.
> 5) STATUS_INVALID_LOCK_SEQUENCE Error happens.
>
> I think that the client had an odd interpretation of what a batch oplock
> let it get away with. There is also a filter driver in the way that does
> odd things (ClearCase MVFS), and this could be related, but the odd
> thing is that the error ONLY happens when accessing [ClearCase Views on]
> Samba shares. I'm thinking that the client thought it could do anything
> it wanted since it thought it had a batch oplock.
>
> My question is, shouldn't the samba server "bounce" an open request that
> includes a request for a Batch Oplock (or any oplock at all, for that
> matter)?
>
> Yes, I have a network trace that shows the problem, but I can't exactly
> sent it out since it contains proprietary information.
>
> Thanks!
>
> Brian Cowan
>
>
> Samba information:
> Samba version: 2.2.8a.
This is a very old version. Any chance you
can test with the recently released 3.0.23d ?
Jeremy.
More information about the samba
mailing list