Find CPG information for a 3PAR virtual volume (vv)

Most of the storage administrators who manage 3PAR storage will be facing tough situations when they deal with adaptive optimization (AO) configuration, especially when you want to see the CPG wise information and growth factors.

3PAR CPGIn this article, we will try explore the CLI options and commands for collecting the CPG information associated with 3PAR StoreServ virtual volumes(vv).  The commands which we are concentrating here are showvv and showvvcpg.


While showvv  command displays the  information about virtual volumes (VVs) in the system,  showvvcpg command  displays the Virtual Volume(VV) space distribution among CPGs in a 3PAR StoreServ storage system.









If you want to collect the user CPG and copy CPG information of a particular volume, use showvv command along with -cpgalloc option.

Eg:

mylab3par cli% showvv -cpgalloc esxvol1
Id Name       Prov Type UsrCPG          SnpCPG
50 esxvol1 tpvv base CPGP1_DB_FCR5_7 CPGP1_SNAP_FCR5_7
---------------------------------------------------------

 -cpgalloc option shows CPGs associated with each VV.


If you want to collect the CPG space distribution of a virtual volume after completing an adaptive optimization (AO), use  showvvcpg

Eg:

mylab3par cli% showvvcpg esxvol1
                             -----(MB)----- -New (MB)--
Name       CPG               Adm  Snp   Usr Adm Snp Usr
esxvol1 CPGP1_DB_FCR5_7   512    0 63232   0   0   0
esxvol1 CPGP1_SNAP_FCR5_7   0 1024     0   0   0   0
-------------------------------------------------------
1          -                 512 1024 63232   0   0   0

The volume, esxvol1 is not part of any AO setup, hence it shows only the usr CPG and snp CPG.

Let see an example of a virtual volume(ESX_Datastore_labsvr) which takes part in adaptive optimization (AO) move.

mylab3par cli% showvvcpg ESX_Datastore_labsvr
                                                  -----(MB)----- -New (MB)--
Name                     CPG                      Adm Snp    Usr Adm Snp Usr
ESX_Datastore_labsvr PROD_RuleB_5x24hr_R5_SAS 352   0 117888   0   0   0
ESX_Datastore_labsvr PROD_RuleB_5x24hr_R6_NL  160   0 123776   0   0   0
----------------------------------------------------------------------------
1                        -                    512   0 241664   0   0   0 

In this, the command output shows the distribution of volume space after completing an an adaptive optimization (AO) move.

Hope this is useful. Please share your views.


No comments :

Post a Comment

Admin Helpline™ © , All Rights Reserved.
Privacy Policy