HPE Storage Users Group

A Storage Administrator Community




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Having some trouble removing chunklets from a PD
PostPosted: Sun Feb 16, 2020 11:36 pm 

Joined: Tue Jan 28, 2020 9:07 pm
Posts: 4
I am trying to wipe a set of physical disks, to create a new VV from scratch.
Started by removing the vluns, and then the VVs present across the disks.

However, one drive was marked as failed as a result.

As I've functionally wiped all data from my FC drives, I am not worried about loss on FC, however my NL drives are storing some minimal data, so I hope to avoid OOTB

I followed these steps trying to dismiss the PD causing trouble for me:


RemovePD
Step Command Purpose
1 setpd ldalloc off <DiskID> To stop data to drive - Repeat for all PDs
2 showpd -s Make sure disks are in Degraded state
3 movepdtospare -f -vacate -nowait <DiskID> Vacate all data from PD
4 showpdch -mov See the Remaining chunklets to be moved
5 movech -perm -ovrd X:Y OPTIONAL: If getting an error, move Chunklet manually (example X is the PDID and Y is the Chunklet number) repeat till disk is empty
6 showpdch -spr <DiskID> Shows the Spare chunklets on the PD
7 removespare PDID:a Removes the Spare chunklets from the PD
8 dismisspd <DiskID> Dismisses the PD from the 3PAR
...
11 tunesys -chunkpct 1 Tune System

SRC: community [dot] hpe [dot] com



Here's some sample outputs:

3par7200 cli% setpd ldalloc off 9

3par7200 cli% showpd -s
Id CagePos Type -State- -------------------------------Detailed_State-------------------------------
0 0:0:0 FC normal normal
1 0:1:0 FC normal normal
2 0:2:0 FC normal normal
3 0:3:0 FC normal normal
4 0:4:0 FC normal normal
5 0:5:0 FC normal normal
6 0:6:0 FC normal normal
7 0:7:0 FC normal normal
8 0:8:0 FC normal normal
9 0:9:0 FC failed vacated,notready,not_available_for_allocations,invalid_media,failed_hardware
10 0:10:0 FC normal normal
11 0:11:0 FC normal normal
12 1:0:0 NL normal normal
13 1:1:0 NL normal normal
14 1:4:0 NL normal normal
15 1:5:0 NL normal normal
16 1:8:0 NL normal normal
17 1:9:0 NL normal normal
18 1:12:0 NL normal normal
19 1:13:0 NL normal normal
20 1:16:0 NL normal normal
21 1:17:0 NL normal normal
22 1:20:0 NL normal normal
23 1:21:0 NL normal normal
----------------------------------------------------------------------------------------------------
24 total

3par7200 cli% movepdtospare -f -vacate -nowait 9
There are no chunklets to move.


3par7200 cli% showpdch -mov
Pdid Chnk LdName LdCh State Usage Media Sp Cl From To
3 377 log0.0 119 normal ld valid Y N 9:386 ---
3 378 log0.0 113 normal ld valid Y N 9:387 ---
3 379 log0.0 101 normal ld valid Y N 9:389 ---
3 380 log0.0 65 normal ld valid Y N 9:395 ---
3 381 log0.0 53 normal ld valid Y N 9:397 ---
5 376 .srdata.usr.0 55 normal ld valid Y N 9:21 ---
5 377 admin.usr.0 1 normal ld valid Y N 9:407 ---
5 378 .srdata.usr.0 37 normal ld valid Y N 9:24 ---
5 379 .srdata.usr.0 25 normal ld valid Y N 9:26 ---
5 380 .srdata.usr.0 13 normal ld valid Y N 9:28 ---
5 381 log0.0 77 normal ld valid Y N 9:393 ---
5 382 log0.0 59 normal ld valid Y N 9:396 ---
5 383 log0.0 29 normal ld valid Y N 9:401 ---
7 376 .srdata.usr.0 43 normal ld valid Y N 9:23 ---
7 377 admin.usr.1 1 normal ld valid Y N 9:406 ---
7 378 .srdata.usr.0 31 normal ld valid Y N 9:25 ---
7 379 .srdata.usr.0 19 normal ld valid Y N 9:27 ---
7 380 .srdata.usr.0 7 normal ld valid Y N 9:29 ---
7 381 log0.0 71 normal ld valid Y N 9:394 ---
7 382 log0.0 47 normal ld valid Y N 9:398 ---
7 383 log0.0 23 normal ld valid Y N 9:402 ---
11 375 .srdata.usr.0 49 normal ld valid Y N 9:22 ---
11 376 .srdata.usr.0 1 normal ld valid Y N 9:30 ---
11 377 log0.0 35 normal ld valid Y N 9:400 ---
11 378 log0.0 107 normal ld valid Y N 9:388 ---
11 379 log0.0 95 normal ld valid Y N 9:390 ---
11 380 log0.0 89 normal ld valid Y N 9:391 ---
11 381 log0.0 83 normal ld valid Y N 9:392 ---
11 383 log0.0 41 normal ld valid Y N 9:399 ---
13 1679 pdsld0.1 7 normal ld valid Y N 9:384 ---
14 1678 log0.0 17 normal ld valid Y N 9:403 ---
14 1679 pdsld0.1 1 normal ld valid Y N 9:385 ---
17 1678 log0.0 11 normal ld valid Y N 9:404 ---
21 1678 log0.0 5 normal ld valid Y N 9:405 ---
---------------------------------------------------------------
Total chunklets: 34

3par7200 cli% movech -perm -ovrd 9:386
Are you sure you want to move the chunklets?
select q=quit y=yes n=no: y
Error: Disk 9 chunklet 386 is not in use.

3par7200 cli% showpdch -spr 9
No chunklet information available.

3par7200 cli% removespare 9:a
Are you sure you want to remove spares?
select q=quit y=yes n=no: y
No spares removed

3par7200 cli% dismisspd 9
Error : Pd id 9 is referenced by chunklet 3:377




==

3par7200 cli% showsys -space -devtype FC
---------System Capacity (MB)---------
Total Capacity : 5013504
Allocated : 3273728
Volumes : 2506752
Non-CPGs : 0
User : 0
Snapshot : 0
Admin : 0
CPGs (TPVVs & CPVVs) : 2506752
User : 2506752
Used : 2506752
Unused : 0
Snapshot : 0
Used : 0
Unused : 0
Admin : 0
Used : 0
Unused : 0
Unmapped : 0
System : 664576
Internal : 281600
Spare : 382976
Used : 27648
Unused : 355328
Free : 1321984
Initialized : 598016
Uninitialized : 723968
Unavailable : 0
Failed : 417792




==

Since I started, I created a new FC VV, hoping that it would help move things off of this drive, but it doens't appear to have helped.

My hope is to clear disk 9's data, and create new VVs, but I can't seem to dismiss pdid 9 due to chunks from an old VV?

If I am understanding, the dismisspd is getting hung up on a chunk from 3:377, but I was under the impression that all VVs were wiped, so not sure why there are chunks still.

Digging more, it seems they're tied to LD Names "log0.0","log0.1", and ".srdata.usr.0",".srdata.usr.1", but, having not set these up, I assume I would be foolish to delete these.

Please bear with me, I am self teaching enterprise storage, and 3par, and I appreciate any light that can be shed on the issue.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


Who is online

Users browsing this forum: Google [Bot], MSN [Bot] and 30 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