HPE Storage Users Group
https://3parug.net/

Adding more disks to a CPG that is 95% full
https://3parug.net/viewtopic.php?f=18&t=3449
Page 1 of 2

Author:  fiazshah [ Fri Jul 17, 2020 1:23 pm ]
Post subject:  Adding more disks to a CPG that is 95% full

We just added 4 SSD's to the system but the CPG is still showing as 5% free. Is there another step needed to add those disks to the particular CPG?

Your response will be appreciated.

Author:  MammaGutt [ Fri Jul 17, 2020 1:41 pm ]
Post subject:  Re: Adding more disks to a CPG that is 95% full

CPG grows when needed.

Maybe if you could add some more info we might give some insights.

showpd -c
showcpg -sdg

from cli will give some more info.

Author:  fiazshah [ Fri Jul 17, 2020 2:05 pm ]
Post subject:  Re: Adding more disks to a CPG that is 95% full

showpd -c
-------- Normal Chunklets --------- ---- Spare Chunklets ----
-- Used -- -------- Unused -------- - Used - ---- Unused ----
Id CagePos Type State Total OK Fail Free Uninit Unavail Fail OK Fail Free Uninit Fail
0 0:0:0 SSD normal 1787 1489 0 74 0 0 0 0 0 224 0 0
1 0:1:0 SSD normal 1787 1488 0 75 0 0 0 0 0 224 0 0
2 0:2:0 SSD normal 1787 1490 0 73 0 0 0 0 0 224 0 0
3 0:3:0 SSD normal 1787 1489 0 74 0 0 0 0 0 224 0 0
4 0:4:0 SSD normal 1787 1489 0 74 0 0 0 0 0 224 0 0
5 0:5:0 SSD normal 1787 1489 0 74 0 0 0 0 0 224 0 0
6 1:0:0 SSD normal 1787 1489 0 75 0 0 0 0 0 223 0 0
7 1:1:0 SSD normal 1787 1488 0 76 0 0 0 0 0 223 0 0
8 1:2:0 SSD normal 1787 1490 0 74 0 0 0 0 0 223 0 0
9 1:3:0 SSD normal 1787 1488 0 76 0 0 0 0 0 223 0 0
10 1:4:0 SSD normal 1787 1490 0 74 0 0 0 0 0 223 0 0
11 1:5:0 SSD normal 1787 1490 0 74 0 0 0 0 0 223 0 0
12 0:6:0 SSD normal 1787 2 0 1562 0 0 0 0 0 223 0 0
13 1:6:0 SSD normal 1787 2 0 1562 0 0 0 0 0 223 0 0
14 0:7:0 SSD normal 1787 2 0 1562 0 0 0 0 0 223 0 0
15 1:7:0 SSD normal 1787 2 0 1562 0 0 0 0 0 223 0 0
------------------------------------------------------------------------------------------
16 total 28592 17877 0 7141 0 0 0 0 0 3574 0 0

Author:  fiazshah [ Fri Jul 17, 2020 2:07 pm ]
Post subject:  Re: Adding more disks to a CPG that is 95% full

-----(MiB)-----
Id Name Warn Limit Grow Args
1 SSD_r5 - - 8192 -t r5 -ha mag -ssz 9 -ss 64 -p -devtype SSD
2 SSD_r6 - - 8192 -t r6 -ha mag -ssz 12 -ss 128 -p -devtype SSD

Author:  MammaGutt [ Fri Jul 17, 2020 2:13 pm ]
Post subject:  Re: Adding more disks to a CPG that is 95% full

Do a tunesys and you should be good to go.

Author:  fiazshah [ Fri Jul 17, 2020 2:17 pm ]
Post subject:  Re: Adding more disks to a CPG that is 95% full

a tunesys on that particular cpg or jsut tunesys?

Author:  fiazshah [ Fri Jul 17, 2020 2:21 pm ]
Post subject:  Re: Adding more disks to a CPG that is 95% full

I mean tunecpg -cpg <CPG> or tunesys?

Author:  MammaGutt [ Fri Jul 17, 2020 2:25 pm ]
Post subject:  Re: Adding more disks to a CPG that is 95% full

fiazshah wrote:
I mean tunecpg -cpg <CPG> or tunesys?


both will do, but tunesys will probably be best if you're using both cpgs.

Author:  fiazshah [ Fri Jul 17, 2020 2:30 pm ]
Post subject:  Re: Adding more disks to a CPG that is 95% full

thanks

Author:  markinnz [ Sun Jul 19, 2020 4:25 pm ]
Post subject:  Re: Adding more disks to a CPG that is 95% full

Don't forget that a CPG is not a container, it is a template, so don't think it is like a RAID set or anything, it doesn't actually have any disks in it .. but you can tell the CPG to only allow the use of certain disks when using it as the template.

So when you pull up info on a CPG it's not showing how much storage is in the CPG, it's showing the size of the logical devices using the CPG template, as well as the size of the virtual volumes on those LDs (LDs are created as required and are shared between volumes).

Page 1 of 2 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/