Migration rest of LDs to CPG

Post Reply
iOsX
Posts: 4
Joined: Tue Jan 22, 2013 12:32 am

Migration rest of LDs to CPG

Post by iOsX »

I tried to migrate (Tune Virtual Volume) VV from one CPG to another. But eventually my empty CPG remained 1% capacity. Weird. I tried to look whats problem.

Code: Select all

V400_zz cli% showcpg -r FC_cpg*
                                      --------------------------------------(MB)--------------------------------------
                    -Volumes- -Usage- ------------ Usr ------------ ---------- Snp ---------- --------- Adm ----------
Id Name       Warn% VVs TPVVs Usr Snp   Total  RTotal    Used RUsed  Total RTotal  Used RUsed Total RTotal  Used RUsed
 0 FC_cpg_old     -   0     0   0   0       0       0       0     0  52224  69632  1024  1365     0      0     0     0
40 FC_cpg         -  65    35  34  31 4318464 5757947 4318464     0 301824 402437 51456 68608 32768  98304 15616 46848
----------------------------------------------------------------------------------------------------------------------
 2 total                       34  31 4318464 5757947 4318464     0 354048 472069 52480 69973 32768  98304 15616 46848


Ok

Code: Select all

V400_zz cli% showvv -cpg FC_cpg_old
no vv listed

Strange ...

Code: Select all

V400_zz cli% removecpg FC_cpg_old
Removing CPG FC_cpg_old
select q=quit y=yes n=no: y
Error: Some LDs in CPG FC_cpg_old are in use. This may be the result of an interrupted or ongoing tune process. The CPG cannot be deleted in this state.

Yes. Indeed it was when I canceled task on the some VV. But I forget with which VV i did it exactly.

Code: Select all

V400_zz cli% showld -cpg FC_cpg_old
LDs for SA:
no lds listed
LDs for SD:
  Id Name         RAID -Detailed_State- Own     SizeMB UsedMB Use  Lgct LgId WThru MapV
 368 tp-0-sd-0.14    5 normal           1/0/3/2  12288    256 C,SD    0  ---     N    Y
 369 tp-0-sd-0.16    5 normal           2/3/1/0  18432    256 C,SD    0  ---     N    Y
 370 tp-0-sd-0.17    5 normal           3/2/0/1  18432    256 C,SD    0  ---     N    Y
1270 tp-0-sd-0.0     5 normal           0/1/3/2   3072    256 C,SD    0  ---     N    Y
---------------------------------------------------------------------------------------
   4                                             52224   1024

How can I continie to migrate these LDs to new CPG FC_cpg?
User avatar
Richard Siemers
Site Admin
Posts: 1333
Joined: Tue Aug 18, 2009 10:35 pm
Location: Dallas, Texas

Re: Migration rest of LDs to CPG

Post by Richard Siemers »

Also check/list your VVs "copy space". VVs can have their user Space in one CPG, but their copy space in another. Older versions of Inserv defaulted to assigning VVs a copy space, newer versions leave it blank by default.
Richard Siemers
The views and opinions expressed are my own and do not necessarily reflect those of my employer.
Post Reply