Start a Conversation

Unsolved

G

1 Rookie

 • 

4 Posts

25

December 28th, 2023 10:04

Exclusive lock to a share

We have H700 and have created a SMB share on it

This SMB share is being accessed by 2 different systems lets call it SYSA and SYSB.

SYSA writes files to it, while SYSB just reads from this share. SYSA writes mxf files, which are growing files.

Now we need to establish an exclusive lock mechanism while SYSA is writing, so until the file is complete and the file handle is open SYSB shouldn't be able to read it. 

At the moment whats happening is SYSA is writing, while SYSB can immediately read and copy data across resulting in partial data on SYSB side.

I have checked we do have OPLOCKS enabled for this share, but the exclusive lock still doesnt work. What more do we need to do to realize this lock

Moderator

 • 

8.5K Posts

December 28th, 2023 16:16

Hi,

Thanks for your question.

Which version of OneFS are you on? https://dell.to/4aNrdPc

Let us know if you have any additional questions.

1 Rookie

 • 

4 Posts

December 31st, 2023 04:39

Hi Josh,

We are at version OneFS Version: 9.5.0.5 

Many thanks for reaching out, let us know how do we proceed in sorting this out.

 

Moderator

 • 

8.5K Posts

January 2nd, 2024 14:11

The best option is to call phone support so they can take a look at your environment. Setting a default retation span to keep the file locked may help/ Page 323 https://dell.to/3NN936m

No Events found!

Top