Skip to main content
NetApp Knowledge Base

Any methods to confirm which client opens files?

Views:
310
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
NAS
Last Updated:

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
NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.