Why are OPLOCKS present after OPLOCKS have been disabled on the SVM?
Applies to
- ONTAP 9
- CIFS
- Trellix AV
Answer
- The OPLOCKS request is coming from the Trellix server and ONTAP acknowledges the OPLOCK request and gives a NULL OPLOCK.
- Trellix will not be able to cache the data locally as OPLOCKS are disabled for the ONTAP Share.
- Oplocks are diabled on an SVM
::>vserver cifs share properties show -vserver svm -share-name share
Vserver: svm
Share: share
Share Properties: browsable
changenotify
show-previous-versions
-
Output of vserver locks show displays Oplocks present
::> vserver locks show -vserver svm -volume vol
Vserver: svm
Volume Object Path LIF Protocol Lock Type Client
-------- ------------------------- ----------- --------- ----------- ----------
Oplock Level: null
/share cifs share-level x.x.x.x
Sharelock Mode: none-deny_none
op-lock x.x.x.x
Additional Information
additionalInformation_text