HPE 3PAR StoreServ Storage
1751969 Members
4888 Online
108783 Solutions
New Discussion

Re: Remove Physical Drives in 3PAR

 
SOLVED
Go to solution
J-Philippe
Regular Advisor

Remove Physical Drives in 3PAR

Hello the experts, I'm facing a situation where I must remove some SSD that are never been used (from a CPG perspective).

CPG do not accept drive bigger than 1,9 TB : "setcpg -t r6 -ha mag -ssz 12 -p -devtype SSD -rpm 100 -p -tc_lt 1900 -devtype SSD CPG_R6_12" so I'm sure that there is no production data on the drives that I must remove physically from the array.

An HPE consultant provide me the following tips to remove safely the drive : 

- showpd to get the id of the concerned drive

- removespare -f "PD-ID" :a

- dismisspd "PD-ID"

Do you have some other tips to advise or it sounds good ?

Best Regards,

Jean-Philippe

9 REPLIES 9
JoshJames
Occasional Advisor

Re: Remove Physical Drives in 3PAR

Hello Philip !

check out the following conversations on the HPE community for more information! 

https://community.hpe.com/t5/HPE-3PAR-StoreServ-Storage/Remove-a-PD-permanently/td-p/6965032#.YEhFuWgzaUk

 

You may also refer to the following HPE Documents 

https://support.hpe.com/hpesc/public/docDisplay?docId=emr_na-c03671942

https://support.hpe.com/hpesc/public/docDisplay?docId=a00026610en_us&docLocale=en_US

 

Regards

Josh.

If you feel this was helpful please click the KUDOS! thumb below!

sbhat09
HPE Pro

Re: Remove Physical Drives in 3PAR

Hi Philippe,

If you consider to continue to use the SSDs in the same system:
You can re-arrange the SSD positions in the cages. Create a new CPG using only those SSDs.
New CPG can be used to create new volumes or move any existing volumes to the new CPG (tune VV) or the new CPG can be used as a part of Adaptive Optimization.

If you must remove those SSDs:
You can enter this command to more precisely filter and get PD ids of concerned SSD 'showpd -p -cg m,n -devtype SSD' (where m and n are the cage numbers where the concerned SSDs are seated). Then you can continue with removespare and dismisspd commands as advised by the HPE consultant.

Regards,

Srinivas Bhat

If you feel this was helpful please click the KUDOS! thumb below!


I am an HPE Employee

Accept or Kudo

J-Philippe
Regular Advisor

Re: Remove Physical Drives in 3PAR

One more question, are the removespare and dissmispd commands have an immediate effect ? Or should have anticipate to run the command before physically remove the drives ? If I can avoid to wait for some hours in the front of the system in a datacenter to remove a few drives. Thanks, Jean-Philippe
sbhat09
HPE Pro
Solution

Re: Remove Physical Drives in 3PAR

Hi Philippe,

As the drives are not part of any CPGs yet and don't have data on them, the 'removespare' and 'dissmispd' commands have almost immediate effect (not more than some seconds).

Regards,

Srinivas Bhat

If you feel this was helpful please click the KUDOS! thumb below!


I am an HPE Employee

Accept or Kudo

J-Philippe
Regular Advisor

Re: Remove Physical Drives in 3PAR

Quite logical Thank you Srinivas
J-Philippe
Regular Advisor

Re: Remove Physical Drives in 3PAR

Hi, just want to share an overview of the output for those who are not 3par champions.

3PARSAMPLE cli% showpd
----Size(MiB)---- ----Ports----
Id CagePos Type RPM State Total Free A B Capacity(GB)
0 0:0:0 SSD 100 normal 1829888 505856 0:1:1* 1:1:1* 1920
1 0:1:0 SSD 100 normal 1829888 502784 0:1:1* 1:1:1* 1920
2 0:2:0 SSD 100 normal 1829888 503808 0:1:1* 1:1:1* 1920
3 0:3:0 SSD 100 normal 1829888 502784 0:1:1* 1:1:1* 1920
4 0:4:0 SSD 100 normal 1829888 505856 0:1:1* 1:1:1* 1920
5 0:5:0 SSD 100 normal 1829888 502784 0:1:1* 1:1:1* 1920
6 0:6:0 SSD 100 normal 1829888 505856 0:1:1* 1:1:1* 1920
7 0:7:0 SSD 100 normal 1829888 505856 0:1:1* 1:1:1* 1920
8 0:8:0 SSD 100 normal 1829888 505856 0:1:1* 1:1:1* 1920
9 0:9:0 SSD 100 normal 1829888 504832 0:1:1* 1:1:1* 1920
10 0:10:0 SSD 100 normal 1829888 504832 0:1:1* 1:1:1* 1920
11 0:11:0 SSD 100 normal 1829888 505856 0:1:1* 1:1:1* 1920
12 0:12:0 SSD 100 normal 3660800 3355648 0:1:1* 1:1:1* 3840
13 0:13:0 SSD 100 normal 3660800 3355648 0:1:1* 1:1:1* 3840
14 0:14:0 SSD 100 normal 3660800 3355648 0:1:1* 1:1:1* 3840
15 0:15:0 SSD 100 normal 3660800 3355648 0:1:1* 1:1:1* 3840
16 0:16:0 SSD 100 normal 3660800 3355648 0:1:1* 1:1:1* 3840
17 0:17:0 SSD 100 normal 3660800 3356672 0:1:1* 1:1:1* 3840
-----------------------------------------------------------------------
18 total 43923456 26191872
3PARSAMPLE cli%

3PARSAMPLE cli% removespare -f 12:a
298 spares removed
3PARSAMPLE cli% dismisspd 12
3PARSAMPLE cli% removespare -f 13:a
298 spares removed
3PARSAMPLE cli% dismisspd 13
3PARSAMPLE cli% removespare -f 14:a
298 spares removed
3PARSAMPLE cli% dismisspd 14
3PARSAMPLE cli% removespare -f 15:a
298 spares removed
3PARSAMPLE cli% dismisspd 15
3PARSAMPLE cli% removespare -f 16:a
298 spares removed
3PARSAMPLE cli% dismisspd 16
3PARSAMPLE cli% removespare -f 17:a
297 spares removed
3PARSAMPLE cli% dismisspd 17
3PARSAMPLE cli%

3PARSAMPLE cli% showpd
---Size(MiB)---- ----Ports----
Id CagePos Type RPM State Total Free A B Capacity(GB)
--- 0:12:0 SSD 100 new 3660800 0 0:1:1* 1:1:1* 3840
--- 0:13:0 SSD 100 new 3660800 0 0:1:1* 1:1:1* 3840
--- 0:14:0 SSD 100 new 3660800 0 0:1:1* 1:1:1* 3840
--- 0:15:0 SSD 100 new 3660800 0 0:1:1* 1:1:1* 3840
--- 0:16:0 SSD 100 new 3660800 0 0:1:1* 1:1:1* 3840
--- 0:17:0 SSD 100 new 3660800 0 0:1:1* 1:1:1* 3840
0 0:0:0 SSD 100 normal 1829888 505856 0:1:1* 1:1:1* 1920
1 0:1:0 SSD 100 normal 1829888 502784 0:1:1* 1:1:1* 1920
2 0:2:0 SSD 100 normal 1829888 503808 0:1:1* 1:1:1* 1920
3 0:3:0 SSD 100 normal 1829888 502784 0:1:1* 1:1:1* 1920
4 0:4:0 SSD 100 normal 1829888 505856 0:1:1* 1:1:1* 1920
5 0:5:0 SSD 100 normal 1829888 502784 0:1:1* 1:1:1* 1920
6 0:6:0 SSD 100 normal 1829888 505856 0:1:1* 1:1:1* 1920
7 0:7:0 SSD 100 normal 1829888 505856 0:1:1* 1:1:1* 1920
8 0:8:0 SSD 100 normal 1829888 505856 0:1:1* 1:1:1* 1920
9 0:9:0 SSD 100 normal 1829888 504832 0:1:1* 1:1:1* 1920
10 0:10:0 SSD 100 normal 1829888 504832 0:1:1* 1:1:1* 1920
11 0:11:0 SSD 100 normal 1829888 505856 0:1:1* 1:1:1* 1920
-----------------------------------------------------------------------
18 total 43923456 6056960
3PARSAMPLE cli%

 

Once pd physicaly removed the showpd output looks like

3PARSAMPLE cli% showpd
---Size(MiB)---- ----Ports----
Id CagePos Type RPM State Total Free A B Capacity(GB)
0 0:0:0 SSD 100 normal 1829888 505856 0:1:1* 1:1:1* 1920
1 0:1:0 SSD 100 normal 1829888 502784 0:1:1* 1:1:1* 1920
2 0:2:0 SSD 100 normal 1829888 503808 0:1:1* 1:1:1* 1920
3 0:3:0 SSD 100 normal 1829888 502784 0:1:1* 1:1:1* 1920
4 0:4:0 SSD 100 normal 1829888 505856 0:1:1* 1:1:1* 1920
5 0:5:0 SSD 100 normal 1829888 502784 0:1:1* 1:1:1* 1920
6 0:6:0 SSD 100 normal 1829888 505856 0:1:1* 1:1:1* 1920
7 0:7:0 SSD 100 normal 1829888 505856 0:1:1* 1:1:1* 1920
8 0:8:0 SSD 100 normal 1829888 505856 0:1:1* 1:1:1* 1920
9 0:9:0 SSD 100 normal 1829888 504832 0:1:1* 1:1:1* 1920
10 0:10:0 SSD 100 normal 1829888 504832 0:1:1* 1:1:1* 1920
11 0:11:0 SSD 100 normal 1829888 505856 0:1:1* 1:1:1* 1920
----------------------------------------------------------------------
12 total 21958656 6056960

sbhat09
HPE Pro

Re: Remove Physical Drives in 3PAR

Hi Philippe,

That stays as a great practical demonstration for community members!

Thanks for sharing!

Regards,
Srinivas Bhat

If you feel this was helpful please click the KUDOS! thumb below!


I am an HPE Employee

Accept or Kudo

MDTAUHIDUL
Occasional Visitor

Re: Remove Physical Drives in 3PAR

Hello Srinivas,

Good Day,

Hope you are fine and safe.

I am using a 3par 8200 and I want to remove two good physical disks, We need to remove them for another purpose but the disks are under CPG, So what are the steps to remove the disks, and is there any possibility of losing the data? 

Thanks and Regard

Tonay Islam

Sunitha_Mod
Moderator

Re: Remove Physical Drives in 3PAR

@MDTAUHIDUL 

Hello Tonay,

Thank you for posting! Since you have posted in an old topic and there is no response yet, I would recommend you to create a new topic using the create "New Discussion" button, so the experts can check and guide you further. 

Thanks,
Sunitha G
I'm an HPE employee.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo