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

statistics volume show コマンドで、読み取り、書き込み、およびその他の処理に一致しない処理の合計数が表示されるのはなぜですか。

Views:
165
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
perf
Last Updated:

環境

ONTAP 9

回答

  • 新しいバージョンの ONTAP 、 NFS 、または CIFS Volume に対応している必要があります
    • Total Ops = Read + Write + Other + Access + Getattr + Lookup + Punch Hole + Setattrに関するネットアップのドキュメントを参照してください。
  • NAS ボリュームが読み取り、書き込み、アクセス、属性取得、検索以外の機能を持つことになります。 SetAttr とパンチ穴( Punch Hole )

statistics volume show コマンドは、属性取得、ルックアップ、アクセス、属性設定、パンチ穴の内訳を含まないボリュームレイヤの統計を表示します。

Cluster1::*> statistics volume show -interval 5
Cluster1 : 4/15/2021 13:08:29
                                        *Total Read Write Other    Read    Write   Latency
 Volume    Vserver            Aggregate    Ops  Ops   Ops   Ops   (Bps)    (Bps)      (us)
------- ---------- -------------------- ------ ---- ----- ----- ------- --------   -------
nasdata   svmnas          sas_aggr1     85759 3751  1314  1922 6020330   19856178      20
lun1      svmsan         sata_aggr1      8411 8312    99     0 524286336  1347968   20720

そのため、 NAS ボリュームの合計処理数が読み取り、書き込み、その他の処理数と一致しません。ただし、 SAN ボリュームに対する処理の総数は、読み取り、書き込み、その他の処理数と一致します。

  • ボリュームレイヤ( NFS または CIFS ): Total Ops != Read + Write + Other Ops
  • ボリュームレイヤ( SAN )の場合: Total Ops = Read + Write + Other Ops

追加情報

NFS の詳細な処理を確認するには、次の手順を実行します。

  1. クラスタシェルで advanced モードに切り替えます。


Cluster1::> set adv

  1. NFS Detailed ops カウンタの統計を開始します。


Cluster1::*> statistics start -sample-id testother -object volume -instance vol1 -counter nfs_read_ops|nfs_write_ops|nfs_other_ops|nfs_access_ops|nfs_getattr_ops|nfs_lookup_ops|nfs_total_ops

Statistics collection is being started for sample-id: testother

  1. 数分待ってから統計サンプルを停止します。


Cluster1::*> statistics stop -sample-id testother

Statistics collection is being stopped for sample-id: testother

  1. NFS の詳細な処理を確認してください。


Cluster1::*> statistics show -sample-id testother

Object: volume
Instance: vol1
Start-time: 4/16/2021 19:19:10
End-time: 4/16/2021 19:19:25
Elapsed-time: 15s
Scope: svm1
    Counter                                                     Value
    -------------------------------- --------------------------------
    nfs_access_ops                                                  0
    nfs_getattr_ops                                                 0
    nfs_lookup_ops                                                  0
    nfs_other_ops                                                   0
    nfs_read_ops                                                    0
    nfs_total_ops                                                   0
    nfs_write_ops                                                   0
7 entries were displayed.

5. admin モードに戻します。


Cluster1::> set admin

関連する KB :

ONTAP では、どのような処理が他の IOPS に分類されますか。

 

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.