Skip to main content
NetApp Knowledge Base

How do I tell what "other" NFS iops are being processed within my volume?

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

Applies to

ONTAP 9

Answer

  1. Switch to the diag mode on the cluster shell.

Cluster1::> set -privilege diagnostic

  1. Start the statistics for the NFS detailed ops counters.

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>

  1. Wait for several minutes, then stop the statistics sample.

Cluster1::*> statistics stop -sample-id <samplename>

Statistics collection is being stopped for sample-id: <samplename>

  1. Check the NFS detailed ops.

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.

Additional Information

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.