HPE Storage Users Group

A Storage Administrator Community




Post new topic Reply to topic  [ 24 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: Remove PD
PostPosted: Fri Apr 01, 2016 7:30 pm 

Joined: Thu Jun 05, 2014 10:13 am
Posts: 20
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Remove PD
PostPosted: Sun Apr 03, 2016 11:35 am 

Joined: Tue May 28, 2013 6:32 am
Posts: 20
Hi
this is a procedure I received from HP
Regards


Attachments:
Copy of MovePDs.xlsx [13.26 KiB]
Downloaded 2293 times
Top
 Profile  
Reply with quote  
 Post subject: Re: Remove PD
PostPosted: Tue Apr 12, 2016 7:05 pm 

Joined: Thu Jun 05, 2014 10:13 am
Posts: 20
Hi giladzzz,

Your contribution help me a lot, Thanks,

Regards
AMC


Top
 Profile  
Reply with quote  
 Post subject: Re: Remove PD
PostPosted: Thu Apr 14, 2016 1:38 pm 

Joined: Mon Sep 21, 2015 3:49 pm
Posts: 25
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Remove PD
PostPosted: Thu Apr 21, 2016 6:42 am 

Joined: Fri Dec 05, 2014 6:42 am
Posts: 169
Hi All,

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

Regards,
KK


Top
 Profile  
Reply with quote  
 Post subject: Re: Remove PD
PostPosted: Fri Apr 22, 2016 12:11 am 

Joined: Thu Jun 05, 2014 10:13 am
Posts: 20
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Remove PD
PostPosted: Fri Apr 22, 2016 1:16 pm 
Site Admin
User avatar

Joined: Tue Aug 18, 2009 10:35 pm
Posts: 1328
Location: Dallas, Texas
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.

_________________
Richard Siemers
The views and opinions expressed are my own and do not necessarily reflect those of my employer.


Top
 Profile  
Reply with quote  
 Post subject: Re: Remove PD
PostPosted: Fri Apr 22, 2016 5:37 pm 

Joined: Thu Jun 05, 2014 10:13 am
Posts: 20
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Remove PD
PostPosted: Fri Apr 22, 2016 11:18 pm 

Joined: Thu Jun 05, 2014 10:13 am
Posts: 20
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Remove PD
PostPosted: Sat Apr 23, 2016 3:30 pm 
Site Admin
User avatar

Joined: Tue Aug 18, 2009 10:35 pm
Posts: 1328
Location: Dallas, Texas
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.

_________________
Richard Siemers
The views and opinions expressed are my own and do not necessarily reflect those of my employer.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 24 posts ]  Go to page Previous  1, 2, 3  Next


Who is online

Users browsing this forum: Google [Bot] and 53 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group | DVGFX2 by: Matt