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

Remove PD
https://3parug.com/viewtopic.php?f=18&t=724
Page 2 of 3

Author:  adrianmejia [ Fri Apr 01, 2016 7:30 pm ]
Post subject:  Re: Remove PD

Hi every one,

I am doing some test of removing disk in the 3PAR simulator but I am having some issues with the movepdtospare -dr command, unfortunately I am having a lot of chunklets with the message:

23:59-19:92 degraded remote_disks_used

I am wonder if there is a way to do a script to automate this task instead of do it one by one?

Best regards,
Adrian

Author:  giladzzz [ Sun Apr 03, 2016 11:35 am ]
Post subject:  Re: Remove PD

Hi
this is a procedure I received from HP
Regards

Attachments:
Copy of MovePDs.xlsx [13.26 KiB]
Downloaded 2316 times

Author:  adrianmejia [ Tue Apr 12, 2016 7:05 pm ]
Post subject:  Re: Remove PD

Hi giladzzz,

Your contribution help me a lot, Thanks,

Regards
AMC

Author:  Slicster [ Thu Apr 14, 2016 1:38 pm ]
Post subject:  Re: Remove PD

Hey All,
I'm looking to remove 8 disks from my 3Par because we'll be replacing them with larger disks. At the moment, I have removed all VVOL and CPG from the disks in question but I'm not really sure which of the procedures mentioned in this thread to use. Since it is a permanent removal of those disks, I'm guessing I have to do this? ...

movech -perm -ovrd 12:0
showpdch -spr 12
removespare 12:a
dismisspd 12
admithw
tunesys

Author:  kk2491 [ Thu Apr 21, 2016 6:42 am ]
Post subject:  Re: Remove PD

Hi All,

Can anybody give me the correct steps to remove the PD from a array gracefully.

Regards,
KK

Author:  adrianmejia [ Fri Apr 22, 2016 12:11 am ]
Post subject:  Re: Remove PD

Hi every one,

Finally I am trying to remove one PD from one of our arrays I already vacate all the data from the PD without problem, It took me like 6 hours, but the data and spare chunklets were vacated. The issue is when I try to do the dismisspd I have this message

3PAR_xxx cli% dismisspd 36
Error : Pd id 36 is referenced by chunklet 18:781

3PAR_xxx cli% showpdch -from 36
Pdid Chnk LdName LdCh State Usage Media Sp Cl From To
18 781 vv1.usr.3 486 normal ld valid Y N 36:217 ---
38 774 vv2.usr.2 1 normal ld valid Y N 36:429 ---
.....
.....
------------------------------------------------------------------------------
Total chunklets: 146

I am stuck right here.

Regards,
AMC

Author:  Richard Siemers [ Fri Apr 22, 2016 1:16 pm ]
Post subject:  Re: Remove PD

It looks like some chunklets were moved from PD 36 to other PDs, without the perm option

Code:
    -perm
        Specifies that chunklets are permanently moved and the chunklets'
        original locations are not remembered. If the -perm option is not
        specified, the chunklets' original locations are retained, thereby
        allowing the chunklets to be returned to their original locations
        through the moverelocpd and servicemag resume commands.

Author:  adrianmejia [ Fri Apr 22, 2016 5:37 pm ]
Post subject:  Re: Remove PD

I am afraid I made terrible a mistake during the vacate procedure, checking the putty log I found that I use

movepdtospare 36

instead of

movepdtospare -f -vacate -nowait 36

That happens when you have to move more that 400 chunklets :(

As I understand Richard, I can move back the chunk lets to PD 36 with
moverelocpd 36 command and then again I can run

movepdtospare -f -vacate -nowait 36

After that It should let me dismiss the PD.

Regards,
AMC

Author:  adrianmejia [ Fri Apr 22, 2016 11:18 pm ]
Post subject:  Re: Remove PD

Well It works!!!

First I move back the chunklets with the moverelocpd 36, first I run It with -dr option and looks ok. Finally after an hour all the chunklets were at their initial location.

Then I run the movepdtospare -f -vacate -nowait 36 and an hour later it vacate all the disk

The dismisspd 36 runs with out problem.

Thanks to all your comments,

Regards,
AMC

Author:  Richard Siemers [ Sat Apr 23, 2016 3:30 pm ]
Post subject:  Re: Remove PD

Congrats. Glad to hear you got it worked out.

I want to draw attention to the "pro tip" in your response:

Quote:
I am afraid I made terrible a mistake during the vacate procedure, checking the putty log I found that I use


Logging your SSH sessions for troubleshooting and reference is expert advice. Taking the time to make your SSH client log all sessions by default provides alot of value for zero cost, its basically free insurance.

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