Showvv command to collect 3par virtual volume information

Storage System Administrators will often come across situations like collecting disk information and generating reports. In most of the situations management GUI won't provide much help and you will end up using CLI to collect system related information .

In this article, we will explore the possibility of collecting HP StoreServ (3PAR) vlun information using CLI commands which will help you to identify the 3PAR vluns without much hassle. Basically, to achieve this, we use 2 commands from CLI set, those are showvv and showvlun.

The command showvv displays the information about virtual volumes (VVs) in the system while showvlun displays information about VLUNs in the system.

virtual volumes(vvols) are basically the data layer which can be assigned to a host and vlun is the exported form of a virtual volumes and gets the association between vvol and LUN.

Let's see the syntax and options for these commands,

showvv  can be used to display information about all virtual volumes or specific virtual volumes in a 3PAR system and you can fine tune the command to get what you need.

basically, we use couple of options to display the volume information like, volume ID, CPG etc

showvv  when used with option -d will display detailed information about the virtual volumes. The output will show parent ID and attributes like child volume ID and remaining blocks for snap creation etc.

3parlab01 cli% showvv -d
   Id Name                            Rd Mstr   Prnt  Roch Rwch PPrnt PBlkRemain -----VV_WWN----- -----CreationTime------
 4917 .srdata                         RW 3/1/0   ---   ---  ---   ---         -- 5000ABL613351982 2014-10-18 07:25:17 EST
 3188 1                               RW 3/1/0   ---   ---  ---   ---         -- 5000ABLE8C741982 2015-09-20 01:25:22 EST
    0 admin                           RW 3/1/0   ---   ---  ---   ---         -- 5000ABL000001982 2011-12-13 10:53:09 EST
 3870 LAB_CL02_VMFS126                RW 3/1/0   --- 19739  ---   ---         -- 5000ABLA8F1E1982 2012-09-05 13:12:33 EST
When used with -cpgalloc, the output will show CPGs associated with each virtual volume.

3parlab01 cli% showvv -cpgalloc
   Id Name                            Prov Type  UsrCPG              SnpCPG        
 4917 .srdata                         full base  --                  --            
 3188 1                               tpvv base  CPGP1_APP_FCR5_7    --            
    0 admin                           full base  --                  --            
 3870 LAB_CL02_VMFS126                tpvv base  CPGP1_REPL_FCR5_7   CPGP1_SNAP_FCR5_7
 6520  151123.LAB_CL02_VMFS126        snp  vcopy --                  CPGP1_SNAP_FCR5_7
13711  151124.LAB_CL02_VMFS126        snp  vcopy --                  CPGP1_SNAP_FCR5_7
20555  151125.LAB_CL02_VMFS126        snp  vcopy --                  CPGP1_SNAP_FCR5_7
When used with -r option, the command will display raw space use by the Virtual volumes.
3parlab01 cli% showvv -r
                                                 --------------------------------------(MB)---------------------------------------
                                                 -----Adm------ ------Snp------ --------Usr-------- --------Tot--------        
   Id Name                            Prov Type  RawRsvd   Rsvd RawRsvd    Rsvd   RawRsvd      Rsvd   RawRsvd      Rsvd      VSize
 4917 .srdata                         full base        0      0       0       0    163840     81920    163840     81920      81920
 3188 1                               tpvv base      768    256       0       0      1170      1024      1938      1280       1024
    0 admin                           full base        0      0       0       0     20480     10240     20480     10240      10240
 3870 LAB_CL02_VMFS126                tpvv base     8448   2816  256146  224128   1725585   1509888   1990180   1736832    2097152
 6520  151123.LAB_CL02_VMFS126        snp  vcopy      --     --      --      --        --        --        --        --    2097152

When used with -s, will display  Logical Disk (LD) space use by the VVs

3parlab01 cli% showvv -s
                                                 -----Adm----- -------------Snp------------- ---------------Usr---------------                  
                                                 ----(MB)----- -----(MB)------ --(% VSize)-- -------(MB)-------- --(% VSize)-- --------(MB)--------
   Id Name                            Prov Type    Rsvd   Used    Rsvd    Used  Used Wrn Lim      Rsvd      Used  Used Wrn Lim  Tot_Rsvd      VSize
 4917 .srdata                         full base       0      0       0       0   0.0  --  --     81920     81920 100.0  --  --     81920      81920
 3188 1                               tpvv base     256      1       0       0   0.0  --  --      1024         0   0.0   0   0      1280       1024
    0 admin                           full base       0      0       0       0   0.0  --  --     10240     10240 100.0  --  --     10240      10240
 3870 LAB_CL02_VMFS126                tpvv base    2816   2229  224128  216926  10.3  80   0   1509888   1509155  72.0   0   0   1736832    2097152

No comments :

Post a Comment

Admin Helpline™ © , All Rights Reserved.
Privacy Policy