Any methods to confirm which client opens files?
Applies to
ONTAP 9
Answer
Only the clients which locks the file can be confirmed.
Example:
Cluster::*> locks show -vserver svm1_ontap99 -volume vol1_svm1 -path /vol1_svm1/aaa.xlsx
(vserver locks show)
Vserver: svm1_ontap99
Volume Object Path LIF Protocol Lock Type Client
-------- ------------------------- ----------- --------- ----------- ----------
vol1_svm1 /vol1_svm1/aaa.xlsx svm1_ontap99_lif1 cifs share-level 10.128.242.11
Sharelock Mode: write-deny_write_delete
op-lock 10.128.242.11
Oplock Level: batch
2 entries were displayed.
Additional Information
additionalInformation_text