ボリューム内で処理されている「その他」のNFS IOPSを確認するにはどうすればよいですか?
環境
回答
- クラスタシェルで診断モードに切り替えます。
Cluster1::> set -privilege diagnostic
- NFS Detailed opsカウンタの統計を開始します。
Cluster1::*> statistics start -sample-id <samplename> -object volume -instance <volname> -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: <samplename>
- 数分待ってから統計サンプルを停止します。
Cluster1::*> statistics stop -sample-id <samplename>
Statistics collection is being stopped for sample-id: <samplename>
- NFSの詳細な処理を確認してください。
Cluster1::*> statistics show -sample-id <samplename>
Object: volume
Instance: <samplename>
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.