HPE Storage Users Group

A Storage Administrator Community




Post new topic Reply to topic  [ 24 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Remove PD
PostPosted: Mon May 19, 2014 1:20 pm 

Joined: Sun Sep 23, 2012 5:54 am
Posts: 8
Hi Guys,

I need to remove 4 newly added disks from a 3PAR P7200.

What is the best way to do this task? "Servicemag start" than "dismisspd" can do the job?

Thanks,
Ziad


Top
 Profile  
Reply with quote  
 Post subject: Re: Remove PD
PostPosted: Mon May 19, 2014 2:12 pm 

Joined: Sun Jul 29, 2012 9:30 am
Posts: 576
I would not do servicemag because when you run the dismisspd the array will still think it is reallocating blocks temporarily. We ran into that when we re-balanced within the array. servicemg shodul only be used when data will be redirected back to the original disk position shortly.


Top
 Profile  
Reply with quote  
 Post subject: Re: Remove PD
PostPosted: Wed May 21, 2014 10:55 pm 
User avatar

Joined: Sat May 03, 2014 2:01 pm
Posts: 71
Location: Dallas, TX
First:
set ldalloc off <PDID>

Do this on all disks you want to remove before you dismiss. This will prevent new chunkets from being moved onto the disks from thinp, AO or the dismisspd process you are about to run.

Next:
dismisspd <PDID>

Once the disks show up in "new" status they can be removed. If you have optimization installed you can run tunesys to re-balance chunkets if needed after all of the disks are dismissed.

Do not run a servicemag command in this instance. It expects that the disk will be replaced and resumed.


-Bryan @ Match.com

_________________
Bryan W
Senior Architect/Manager of System Infrastructure, Dallas TX
https://www.linkedin.com/in/bryanlwhite


Top
 Profile  
Reply with quote  
 Post subject: Re: Remove PD
PostPosted: Fri May 23, 2014 9:18 am 
Site Admin
User avatar

Joined: Tue Aug 18, 2009 10:35 pm
Posts: 1328
Location: Dallas, Texas
So dismisspd gracefully moves existing chunk lets off the disk? ....

I'm glad that works and super frustrated at the same time... We had a situation last year where we added a new tier (SSD) to existing large T800s and wanted to move about 16 drives around... opened tickets with support requesting alternatives to the customer driven "dynamic optimizer" method they supplied... I specifically asked about commands like that one as well as movepdtospare and got stonewalled. We had to tune over 250 VVs to new CPGs, then tune them back after the drives were moved.

_________________
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 May 23, 2014 3:15 pm 
User avatar

Joined: Sat May 03, 2014 2:01 pm
Posts: 71
Location: Dallas, TX
I think using tunevv to move the vv to a different CPG is the preferred method since it properly aligns the chunklets when it moves the data off. We used dismisspd to remove some drives and had to run tunesys to realign the data on the disks afterwards.
It sounded like the original poster had recently added the drives so I didn't figure they were a lot of active chunklets.

That said if you didn't want to tunevv every vv, you could just plan on using tunesys -cpg against the affected CPGs after moving the disks around (all assuming you have DO). At least it is less commands to run.

Bryan @Match.com

_________________
Bryan W
Senior Architect/Manager of System Infrastructure, Dallas TX
https://www.linkedin.com/in/bryanlwhite


Top
 Profile  
Reply with quote  
 Post subject: Re: Remove PD
PostPosted: Fri Jun 27, 2014 4:06 am 

Joined: Fri Jun 27, 2014 2:01 am
Posts: 390
Your array is 3.1.1 or higher:
- use setpd ldalloc of pdid to stop allocation of chunklets on this pd
- movepdtospare -f -vacate pdid to reallocate any used chunklets to other disks of same type
- removespare pdid:a to remove any spare chunklet
- dismisspd pdid to remove pd from conf. it will be marked as New


Top
 Profile  
Reply with quote  
 Post subject: Re: Remove PD
PostPosted: Fri Jun 27, 2014 4:18 am 

Joined: Sun Sep 23, 2012 5:54 am
Posts: 8
Thank You for the update, I already tried successfully the steps.

Good Day.


Top
 Profile  
Reply with quote  
 Post subject: Re: Remove PD
PostPosted: Mon Apr 13, 2015 3:07 am 

Joined: Wed Jun 11, 2014 6:13 am
Posts: 9
I have a couple of questions about the procedure meintioned in RitonLaBevue post above.

When trying movepdtospare or alternatively movepd I get an error:
Code:
movepdtospare -f -vacate 1
Error: Could not find relocation target for one or more chunklets

movepd -dr 1
Are you sure you want to move the pd to spare?
select q=quit y=yes n=no: y
      Move -State-- -Detailed_State--
1:3-25:390 degraded remote_disks_used

What does it mean? I dont have any degraded disks, last time a disk had failed was more than a year ago. Or is it some leftover from servicemag command that I tried to use a couple of days ago? But currently it shows

Code:
servicemag status
No servicemag operations logged.


My system runs 3.2.1 MU2


Top
 Profile  
Reply with quote  
 Post subject: Re: Remove PD
PostPosted: Mon Apr 20, 2015 12:48 pm 

Joined: Mon Apr 20, 2015 8:26 am
Posts: 1
I've been having a similar issue. After several calls to HP they sent me this command list (using PDID 12 as an example). When step one errors out run it again with the '-dr' flag. Take note of the degraded chunklets and run step two against each of them. After running against all the degraded chunklets step one has kicked off fine.

Steps to Remove/Replace a PD:
Code:
movepdtospare -f -vacate -nowait 12
movech -perm -ovrd 12:0
showpdch -spr 12
removespare 12:a
dismisspd 12
admithw
tunesys


Again - the movech had to be run against each chunklet reporting degraded. Luckily, I only had two on this PD.
My best guess (and it is a guess) after talking to a different 3PAR tech is that in my case the degraded/remote_disks_used means that a disk on a different node was required.


Top
 Profile  
Reply with quote  
 Post subject: Re: Remove PD
PostPosted: Tue Apr 28, 2015 2:01 am 

Joined: Wed Jun 11, 2014 6:13 am
Posts: 9
cmarcus wrote:
Code:
movepdtospare -f -vacate -nowait 12
movech -perm -ovrd 12:0
showpdch -spr 12
removespare 12:a
dismisspd 12
admithw
tunesys


Thanks a lot cmarcus, movech command indeed helped.


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


Who is online

Users browsing this forum: Bing [Bot] and 50 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