メインコンテンツまでスキップ

「 vserver cifs session show 」の開いているファイルカウンタと「 vserver cifs session 」に表示される実際のファイル数の違い file show "

Views:
138
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
cifs
Last Updated:

環境

  • ONTAP
  • CIFS

回答

  • コマンド「 vserver cifs session show 」には、開いているファイルとフォルダの両方がカウントされます
    •  cluster1::> vserver cifs session show Node: cluster1-01 Vserver: svm1 Connection Session Open Idle Connection ID ID Workstation Windows User Files Time Count ---------- ------- ---------------- ---------------- --------- ------------ --------------- 1788347365 9841209610734665729 2s 1 10.216.36.118 DOMAIN1\ 8 user1 
  • 「 vserver cifs session file show 」コマンドを実行すると、開いているファイルのみが表示されます
    •  cluster1::> vserver cifs session file show Node: cluster1-01 Vserver: svm1 Connection: 1788347365 Session: 9841209610734665729 Connection Count: 1 File File Open Hosting Continuously ID Type Mode Volume Share Available ------- --------- ---- --------------- --------------------- ------------ 64 Regular r svm1_root c$ No Path: SMB2_File.pcapng 
  • 共有ロックが存在するため、開いているフォルダも存在することがわかります
    •  cluster1::> vserver locks show Notice: Using this command can impact system performance. It is recommended that you specify both the vserver and the volume when issuing this command to minimize the scope of the command's operation. To abort the command, press Ctrl-C. Vserver: svm1 Volume Object Path LIF Protocol Lock Type Client -------- ------------------------- ----------- --------- ----------- ---------- svm1_root / svm1_cifs_nfs_lif1 cifs share-level 10.216.36.118 Sharelock Mode: read-deny_none /New folder/New folder svm1_cifs_nfs_lif1 cifs share-level 10.216.36.118 Sharelock Mode: read-deny_none Sharelock Mode: read-deny_none /New folder svm1_cifs_nfs_lif1 cifs share-level 10.216.36.118 Sharelock Mode: read-deny_none Sharelock Mode: read-deny_none / svm1_cifs_nfs_lif1 cifs share-level 10.216.36.118 Sharelock Mode: read-deny_none Sharelock Mode: read-deny_none /SMB2_File.pcapng svm1_cifs_nfs_lif1 cifs share-level 10.216.36.118 Sharelock Mode: read-deny_delete op-lock 10.216.36.118 Oplock Level: batch 9 entries were displayed. 

追加情報

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.