Quantcast
Channel: All Network and Storage Protocols posts
Viewing all articles
Browse latest Browse all 2150

CIFS :: Files in use but not shown as locked to another user :: file_handle timeout?

$
0
0

Hello everyone,

 

Today I need some help to solve a strange problem. In our company we recognized issues with files.

User A opens a file (excell sheet) and after that User B tries to open the same file. And it works! But it shouldn't.

 

I already enabled the security option in MS Office (Excel) to protect a file against multiple access.

So that cannot be the problem.

 

After some research I figured out, that this issue occurs more often when opening a file in the morning and keep it opened all the time until evening or 'til the middle of the day.

 

Is there a default timeout for keeping file_handles / lock states?

Is it possible to change this timeout?

 

Generally, why is it possible to access a file by multiple Users when oplocks are enabled and office settings deny multiple access?

 

Thx 4 any answer.

 

 

EDIT:

Ontap: 7.3.7P1,

 

cifs.oplocks.enable on
cifs.oplocks.opendelta 0

cifs.smb2.client.enable off
cifs.smb2.durable_handle.enable on
cifs.smb2.durable_handle.timeout 16m
cifs.smb2.enable on
cifs.smb2.signing.required off

 


Viewing all articles
Browse latest Browse all 2150