NetApp: Checking LUN stats

From time to time a NetApp admin wants to know which of his/her LUNs is eating up i/o or which is busy at a point in time. Following cli command is very handy.

lun stats -c -i

As an example:

lun stats -c 5 -i 5

Which is saying show LUN stats with a count of 5 times at an interval of 5 seconds.

The output will look like.

Read Write Read Write Average Queue Lun

Ops Ops kB kB Latency Length

1 33 26 272 0.22 0.09 /vol/fc_vmware2/fc_vmware2/fc_vmware2.lun

0 0 3 0 20.00 26.03 /vol/sql12/sql12/sql12

0 0 0 3 0.00 2.01 /vol/sql21/sql21/sql21

0 2 0 1 0.10 1.01 /vol/fc_vmware1/fc_vmware1/fc_vmware1.lun

0 2 0 5 0.23 4.09 /vol/exchlog1/exchlog1/exchlog1.lun

0 0 0 2 4.33 4.09 /vol/exchdb1/exchdb1/exchdb1.lun

1 6 21 66 0.72 1.00 /vol/fc_vmware2/fc_vmware2/fc_vmware2.lun

0 0 0 0 0.00 0.09 /vol/sql1/sql1/sql1

0 1 0 0 0.00 0.09 /vol/fc_vmware1/fc_vmware1/fc_vmware1.lun

7 64 116 1154 0.38 1.00 /vol/fc_vmware2/fc_vmware2/fc_vmware2.lun

0 1 0 5 0.00 0.09 /vol/sql21/sql21/sql21

3 0 28 0 7.00 2.01 /vol/sql2/sql2/sql2

0 1 0 0 0.00 0.08 /vol/fc_vmware1/fc_vmware1/fc_vmware1.lun

0 0 0 0 0.00 4.00 /vol/exchlog4/exchlog4/exchlog4.lun

0 3 6 20 0.00 0.08 /vol/fc_vmware2/fc_vmware2/fc_vmware2.lun

0 0 0 0 0.00 0.08 /vol/sql11/sql11/sql11

0 0 0 0 0.00 3.00 /vol/exchlog3/exchlog3/exchlog3.lun

0 2 0 1 0.00 1.02 /vol/fc_vmware1/fc_vmware1/fc_vmware1.lun

Read Write Read Write Average Queue Lun

Ops Ops kB kB Latency Length

0 7 7 45 0.92 1.00 /vol/fc_vmware2/fc_vmware2/fc_vmware2.lun

0 0 0 3 0.00 1.00 /vol/sql21/sql21/sql21

0 0 0 0 0.00 0.08 /vol/sql1/sql1/sql1

0 1 0 0 0.00 0.09 /vol/fc_vmware1/fc_vmware1/fc_vmware1.lun

Showing the read/write in ops/kBs as well as latency of a LUN.


Advertisement

~ by gcleric on September 5, 2010.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.