HPE 3PAR StoreServ Storage
cancel
Showing results for 
Search instead for 
Did you mean: 

Re: 3PAR. Try to change disk

 
SOLVED
Go to solution
Advisor

Re: 3PAR. Try to change disk

How to move referenced chinklets?

 

3par-7200 cli% showpdch 24
No chunklet information available.
3par-7200 cli% dismisspd 24
Error : Pd id 24 is referenced by chunklet 12:1550

Acclaimed Contributor

Re: 3PAR. Try to change disk

>% dismisspd 24
>Error : Pd id 24 is referenced by chunklet 12:1549

>Now I have to remove this chunklet?

 

You have to move it.  You can't remove it, it has data.

 

>How to move referenced chunklets?

 

This is the hard part, you need to do scripting.  What does this show:

showpdch -from 24

 

And might as well:

showpdch -from 13

 

 

 

Advisor
Solution

Re: 3PAR. Try to change disk

 

Grate thank's to !

I did it.

So, full solution:

  1. For existing disk need to execute commands
    1. to remove spare: removespare -f pdid:a
    2. to move existing chinklets first create script with command: movech -perm -ovrd -f pdid:chinkletnumber (you can collect pdid and chinkletnumber from showpdch -from pdid. I used Exel to create 722 commands)
    3. remove disk from the system: dismisspd pdid
  2. Insert a new disk then run servicemag resume cage_ID magazine_ID

 

Acclaimed Contributor

Re: 3PAR. Try to change disk

>to move existing chinklets first create script with command: movech -perm -ovrd -f pdid:chunkletnumber (you can collect pdid and chunkletnumber from showpdch -from pdid. I used Excel to create 722 commands)

 

Well, you could write a one liner bash script to do this.

Respected Contributor

Re: 3PAR. Try to change disk

Hello Dennis,

 

wouldn't a movepd do the job here ? (not sure, just asking).

 

Thanks,

J.

Acclaimed Contributor

Re: 3PAR. Try to change disk

>wouldn't a movepd do the job here?

 

One would think but typically there isn't enough spares in the right places for the system to do that.

It errors out since there isn't a -ovrd option.

New Member

Re: 3PAR. Try to change disk

could you please help me with the one liner bash script to accomplish this task? I have 2127 chunklets to be moved. Appreciate you help.

New Member

Re: 3PAR. Try to change disk

In windows command line you can make script this way (pd_chunklets.txt is the output of the shodpdch # without header and footer) :

for /f "tokens=1,2" %i in (pd_chunklets.txt) do echo movech -f -perm -ovrd %i:%j >>movech.txt

and then paste content of the movech.txt into putty window