ONTAP Discussions

Top volumes on aggregate

r2401
3,504 Views

Hello All,

            I have been trying to see if there is a way to get TOP IO volumes for specific aggregate via CLI without perfstat. Looking at the link it appears its possible. Not sure if we need to enable something for this. Its failing currently with error counter does not exist. Checking if any one where able to get this. 

 

https://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.dot-cm-cmpr-910%2FTOC__statistics__volume.html&lang=en

 

This is on 9.1

 

          

statistics vol show  -aggregate aggr1

 

Error: command failed: Filter data contains a counter that does not exist:

       "parent_aggr".

1 ACCEPTED SOLUTION

Ontapforrum
3,230 Views

That error is seen from 'admin' & 'advanced' privilege level.

 

From 'diag' it works. 

 

SANC1::> set diag

Warning: These diagnostic commands are for use by NetApp personnel only.
Do you want to continue? {y|n}: y

SANCL1::*> statistics volume show -aggregate ag_tier1

SANCL1 : 9/9/2019 13:03:39

*Total Read Write Other Read Write Latency
Volume Vserver Aggregate Ops Ops Ops Ops (Bps) (Bps) (us)
----- --------- ----------- ------ ---- ----- ----- --------- ----- -------
test svm01 ag_tier1 6120 6110 9 0 236372224 21263 196

 

Thanks,

-Ashwin

View solution in original post

3 REPLIES 3

EWILTS_SAS
3,497 Views

How about a REST API call to OCUM?

r2401
3,242 Views

Looks like we will need to setup another server to use the REST API's. If I have more requests that will need API's I can justify the use of another server to business.  

going back to CLI method. I see the documentation shows the aggregate field but when the command is run it gives error.

Ontapforrum
3,231 Views

That error is seen from 'admin' & 'advanced' privilege level.

 

From 'diag' it works. 

 

SANC1::> set diag

Warning: These diagnostic commands are for use by NetApp personnel only.
Do you want to continue? {y|n}: y

SANCL1::*> statistics volume show -aggregate ag_tier1

SANCL1 : 9/9/2019 13:03:39

*Total Read Write Other Read Write Latency
Volume Vserver Aggregate Ops Ops Ops Ops (Bps) (Bps) (us)
----- --------- ----------- ------ ---- ----- ----- --------- ----- -------
test svm01 ag_tier1 6120 6110 9 0 236372224 21263 196

 

Thanks,

-Ashwin

Public