KB Article #182003

Multinode Windows SMB shared FS

Problem

CFT Windows Multi-node using a SMD shared drive

Resolution

Read bellow recommendations that are the prerequisites in using a SMD shared drive

Opportunistic locks

Oplocks allow clients to lock files and cache content locally, which can increase performance for file operations. However, it is often not recommended when multiple clients access the same files.

From Samba documentation:

Windows oplocks is a lightweight performance-enhancing feature. It is not a robust and reliable protocol.
...
Multiuser databases clearly pose a risk due to their very nature they are typically heavily accessed by numerous users at random intervals. Placing a multiuser database on a share with oplocks enabled will likely result in a locking management bottleneck on the Samba server. Whether the database application is developed in-house or a commercially available product, ensure that the share has oplocks disabled.

https://www.samba.org/samba/docs/old/Samba3-HOWTO/locking.html

Other source

There are some implications that OpLocks can cause corruption and performance issues in ISAM (Indexed Sequential Access Method) databases. As a result, some companies – Symantec among them -- have recommended disabling OpLocks as a best practice.

https://whatis.techtarget.com/definition/OpLock-opportunistic-lock

NetApp:

CIFS oplocks and lease oplocks are enabled on your storage system by default. You can leave CIFS oplocks and lease oplocks enabled in most cases, but you might want to disable them under the following circumstances:
You are using a database application whose documentation recommends that oplocks be disabled.
The CIFS clients are on an unreliable network.
You are handling critical data and you cannot afford even the slightest data loss.

https://library.netapp.com/ecmdocs/ECMP1401220/html/GUID-526B365B-219B-4CA3-AD67-3E1E17B0DB0A.html

Recommendations

Oplocks should be disabled for the folders runtime/run and runtime/data (for any SMB server).

If SMB share is provided by Samba (smbd), the minimum recommended version of the tool is 4.15.3.