Start a Conversation

Unsolved

This post is more than 5 years old

T

1491

June 3rd, 2012 22:00

get sp stats

how do I get the spa and spb stats for a lun?

naviseccli -h ip getlun xx

does not show any stats

June 4th, 2012 20:00

Let me first preface this response that I'm assuming you are running a CX4 or VNX that support pool luns.

If you are running that command against pool luns, you will not receive the desired information.  The stats from CLI that you are inquiring about are returned only for traditional LUNs.  Using the knowledge that storage pools are ultimately comprised of private RG's and traditional (private) LUNs, you could instead run the command against the private LUNs.  This, of course, is not specific to the extents that comprise of just a single pool LUN but performance for the pool (private RG's and LUNs) overall.

So... to answer your question directly, firstly you need to identify the private RG's.

naviseccli -h getrg -<insert engineering password>

This will return the private RG's (in addition to the standard output).  To identify those that are part of the pool, simply locate them by the individual disks in the output (“List of disks”).  Once you identify the private RG’s that make up the pool, you then want to obtain the getlun output for the private luns (“List of LUNS”) for the private RAID Group(s) as follows:

naviseccli –h getlun –<insert engineering password>

If you are interested in the decision tree that determines the make-up of the private RG's, there is a good post here:

https://community.emc.com/thread/123588

The number of private LUNs (from which the 1GB extents are allocated for thin and thick pool luns) per private RAID Group, the math works out to be 2 per disk (balanced between SPA and SPB).  Therefore, in the case of a RAID 5 (4+1) private RG, you will see 10 private luns when you follow the steps above.

However, again this method only gathers information on the private LUNs which doesn't have the granularity to identify the statistics of the individual pool lun.  Unless you have a license for Unisphere Analyzer, since you posted in "Everything VMware at EMC", you may have another choice than what was described above.

Using the VSI Storage Viewer feature, in v5.2 we introduced the ability to gather performance monitoring of VNX block and file datastores as well as RDM's.  This is available from Powerlink via the following breadcrumb trail:

Home > Support > Software Downloads and Licensing > Downloads T-Z > Virtual Storage Integrator (VSI)

Once installed:

1) Enable "Statistics Logging" on the array

2) Under the "EMC VSI" tab in the vSphere client, select a datastore

3) Click on the "Performance" button

4) If prompted, start monitoring

This will return the following statistics:

1) IOPs

2) Latency

3) % Busy

No Events found!

Top