question about modifying cpg thanks.

Post Reply
iampns
Posts: 4
Joined: Tue Apr 07, 2015 3:21 am

question about modifying cpg thanks.

Post by iampns »

3Par 7200 Series. 2controllers 2cage
cage1 : 300GB SAS * 12
cage2 : 900GB SAS * 14

at the install time, i made cpg like this(maybe),
# createcpg -t r1 -p -devtype FC R1_FC300_12D_CPG
# createcpg -t r5 -p -devtype FC R1_FC900_14D_CPG

yes, i didn't use option about cage.
originally i want to use 300GB disks for OS(hpvm, windows hyper-v guest)
and 900GB disks as user data.
but.... i'm so sad....:(

now, i'm finding the way to modify cpg like this(simply)
# setcpg -cg 1 R1_FC300_12D_CPG
# setcpg -cg 2 R5_FC900_14D_CPG

every chunklet of 300GB disks are used.
about half chunklets of 900GB disks are free.

is it possible?
if so, help me please...

sorry, i'm not good at English...
good luck.
AdamKnox
Posts: 20
Joined: Fri Dec 12, 2014 11:54 am
Location: Stamford, CT

Re: question about modifying cpg thanks.

Post by AdamKnox »

Do you have a Dynamic Optimization license? If so, you're better off creating new CPGs with the parameters you desire and then using TuneVV to migrate them over. The only downside is you'll need at least as much swing space as your largest volume footprint.
iampns
Posts: 4
Joined: Tue Apr 07, 2015 3:21 am

Re: question about modifying cpg thanks.

Post by iampns »

sincerely thanks.
I have license 'dynamic optimization'.

for example. volume1 of R1_FC900_14D_CPG
new cpg : FC900_14D

% tunevv R1_FC900_14D_CPG FC900_14D volume1

is this right?

thank you so much.
I'll study harder.
AdamKnox
Posts: 20
Joined: Fri Dec 12, 2014 11:54 am
Location: Stamford, CT

Re: question about modifying cpg thanks.

Post by AdamKnox »

You can do it from the command line, but it's actually really easy in the Management Console.

1) Create your new CPG.

2) Under Virtual Volumes, find the volume you'd like to tune, right-click --> Tune Virtual Volume.

3) Under Allocation Space, verify "User Space" is selected.

4) Ensure that the volume you had right-clicked is selected in the list. Drop down the "Target CPG" list and choose your new CPG. Click OK to finish.

Depending on the size of the volume it might take a while, as it's a background task. I/O will continue being serviced, so no downtime is required from a client perspective.

-Adam
iampns
Posts: 4
Joined: Tue Apr 07, 2015 3:21 am

Re: question about modifying cpg thanks.

Post by iampns »

thank you so much. :)
Post Reply