NetApp Commands: Difference between revisions

From Lolly's Wiki
Jump to navigationJump to search
No edit summary
Line 38: Line 38:


  filer> priv set -q diag ; stats show -p hybrid_aggr ; priv set
  filer> priv set -q diag ; stats show -p hybrid_aggr ; priv set
==Links==
* [http://www.cosonok.com/2014/02/brief-notes-on-advanced-troubleshooting.html Brief Notes on Advanced Troubleshooting in CDOT]

Revision as of 09:30, 12 October 2015

Kategorie: NetApp

Alignment

CDOT 8.3:

netapp-svm1::> set -priv diag
netapp-svm1::*> lun alignment show -vserver svm_kerberos_backup -fields vserver,lun,alignment -path /vol/kerberos_vol_luns_backup/kerberos_lun_*
vserver    path                              lun          alignment 
---------- --------------------------------- ------------ --------- 
svm_backup /vol/vol_luns_backup/lun_1.bcklun lun_1.bcklun aligned   
svm_backup /vol/vol_luns_backup/lun_2.bcklun lun_2.bcklun aligned   
svm_backup /vol/vol_luns_backup/lun_3.bcklun lun_3.bcklun aligned   
svm_backup /vol/vol_luns_backup/lun_4.bcklun lun_4.bcklun aligned   
4 entries were displayed.
netapp-svm1::> set -priv admin

To see on which bucket the reads and writes occure:

netapp-svm1::> set -priv diag
netapp-svm1::*> lun alignment show -vserver svm_kerberos_backup -fields vserver,lun,alignment,read-histogram,write-histogram -path /vol/kerberos_vol_luns_backup/kerberos_lun_**
vserver    path                              lun          alignment write-histogram  read-histogram   
---------- --------------------------------- ------------ --------- ---------------- ---------------- 
svm_backup /vol/vol_luns_backup/lun_1.bcklun lun_1.bcklun aligned   99,0,0,0,0,0,0,0 99,0,0,0,0,0,0,0 
svm_backup /vol/vol_luns_backup/lun_2.bcklun lun_2.bcklun aligned   99,0,0,0,0,0,0,0 99,0,0,0,0,0,0,0 
svm_backup /vol/vol_luns_backup/lun_3.bcklun lun_3.bcklun aligned   99,0,0,0,0,0,0,0 99,0,0,0,0,0,0,0 
svm_backup /vol/vol_luns_backup/lun_4.bcklun lun_4.bcklun aligned   99,0,0,0,0,0,0,0 99,0,0,0,0,0,0,0 
4 entries were displayed.
netapp-svm1::> set -priv admin

Performance

filer> priv set -q diag ; statit -b ; sysstat -x -s -c 20 3 ; statit -e ; priv set
filer> priv set -q diag ; stats show lun:*:avg_latency ; priv set

Flashpool

filer> priv set -q diag ; stats show -p hybrid_aggr ; priv set

Links