Page 1 of 1

How much space is actually available to CPG

Posted: Wed Jul 02, 2014 2:36 am
by hawksey
Hello Newbie here!
I have a 7400 with 36 NL disks in three cages. I have a cpg called NL_r6

cli% showcpg -d
-----------------(MB)------------------
-Volumes- -Usage- ------ Usr ------ -- Snp --- -- Adm --- --- LD ---- --RC_Usage--
Id Name Warn% VVs TPVVs Usr Snp Total Used Total Used Total Used Usr Snp Adm Usr Snp
0 NL_r1 - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 NL_r6 - 9 0 9 0 17866752 17825792 0 0 0 0 33 0 0 0 0
-------------------------------------------------------------------------------------------------
2 total 9 0 17866752 17825792 0 0 0 0 33 0 0 0 0

showcpg is showing that I have used all the space available... but I have 36TB at RAID 6 so I'm expecting around 31.5 TB usable...So why only 17.8 TB available in the CPG??? According to the showsys below there is 7.6 TB Free (Initialised)...So why can I not see that capacity in the cpg?


Many Thanks in advance for any help
Cheers
Paul


cli% showsys -space -devtype NL
---------System Capacity (MB)----------
Total Capacity : 33251328
Allocated : 25586688
Volumes : 23420928
Non-CPGs : 0
User : 0
Snapshot : 0
Admin : 0
CPGs (TPVVs & CPVVs) : 23420928
User : 23420928
Used : 23368260
Unused : 52668
Snapshot : 0
Used : 0
Unused : 0
Admin : 0
Used : 0
Unused : 0
Unmapped : 0
System : 2165760
Internal : 318464
Spare : 1847296
Used : 0
Unused : 1847296
Free : 7664640
Initialized : 7664640
Uninitialized : 0
Unavailable : 0
Failed : 0

Re: How much space is actually available to CPG

Posted: Wed Jul 02, 2014 9:22 am
by 3ParDude_1
Hi a CPG will grow and consume space as it's needed. The HP 3PAR StoreServ Storage Concepts Guide explains it like this

"As volumes that draw from a CPG require additional storage, the system automatically creates
additional logical disks according to the CPG's growth increment. The default and minimum growth
increments vary according to the number of controller nodes in the system."

The figure you are looking at is telling you how much of the space currently allocated to the CPG has been used.

To find how much space it has left to grow into run the following from the CLI:

showspace -cpg cpgname

The results with give you an estimated raw space free and logical disk free which is probably the most useful figure as it shows the space available accounting for your raid level etc

Re: How much space is actually available to CPG

Posted: Thu Jul 03, 2014 1:56 am
by hawksey
Thanks for that. Understood.