There are several reasons why you may want to access SMB shares on OES servers over the WAN. It is essential to ensure optimized bandwidth consumption when accessing files over the WAN. We have updated the SMB stack (aka OES CIFS) with support for SMB Leases in OES 2018 SP2 to help reduce network round trips, thereby improving performance.
Oplocks (opportunistic locks) and Oplock Lease are a performance enhancement mechanism whereby the server allows clients in certain file-sharing scenarios to perform client-side caching of read, write data and, lock information. The client-side caching improve the overall performance by reducing the number of packets exchanged (network traffic) between client and server.
The new “RH” lease level helps in the following:
Advantage of oplock leases over oplocks:
How to enable oplock leases in OES2018SP2?
You can enable or disable the oplock leases using novcifs command:
Enables or disables oplock leases. Oplock leases is enabled by default.
The options -Flop <path-to-file>, -Flov <volume-name> and -Flon <connection-number> are added in novcifs command to display oplock or ease level of open files.
E.g : novcifs –Flov <volume-name>
For more information:
What’s New or Changed in OES CIFS (OES 2018 SP2) https://www.novell.com/documentation/beta/open-enterprise-server-2018/file_cifs_lx/data/t4b0un58t01u.html
On Locks Management for CIFS https://www.novell.com/documentation/beta/open-enterprise-server-2018/file_cifs_lx/data/bk5ziqa.html#bk5ziqa