ProLiant Servers (ML,DL,SL)
cancel
Showing results for 
Search instead for 
Did you mean: 

DL380 G9: Enable HDD uid on CentOS using hpssacli

 
Ronny_
Occasional Advisor

DL380 G9: Enable HDD uid on CentOS using hpssacli

Hi there,

I'm having trouble to get the identification led on a DL380G9 working. The server is oacked with H240 Controllers, no LV configured, just presenting 24 1.8TB SAS Disks to the system. Operating System is CentOS 7.

Now, using hpssacli works to get information about controller and disks. But when I try to set the identification LED to on, the server is blocked for several seconds and I get an error (see below). Is there another way to enable this LEDs? I am using hpssacli-2.40-13.0.x86_64.

=> ctrl all show status

Smart HBA H240 in Slot 1 (HBA Mode)
Controller Status: OK

Smart HBA H240 in Slot 2 (HBA Mode)
Controller Status: OK

Smart HBA H240 in Slot 3 (HBA Mode)
Controller Status: OK

=> ctrl slot=1 pd all show status

physicaldrive 1I:3:1 (port 1I:box 3:bay 1, 1800.3 GB): OK
physicaldrive 1I:3:2 (port 1I:box 3:bay 2, 1800.3 GB): OK
physicaldrive 1I:3:3 (port 1I:box 3:bay 3, 1800.3 GB): OK
physicaldrive 1I:3:4 (port 1I:box 3:bay 4, 1800.3 GB): OK
physicaldrive 2I:3:5 (port 2I:box 3:bay 5, 1800.3 GB): OK
physicaldrive 2I:3:6 (port 2I:box 3:bay 6, 1800.3 GB): OK
physicaldrive 2I:3:7 (port 2I:box 3:bay 7, 1800.3 GB): OK
physicaldrive 2I:3:8 (port 2I:box 3:bay 8, 1800.3 GB): OK

=> ctrl slot=1 pd 1I:3:1 modify led=on

 

Error: This operation is not supported with the current configuration. Use the
"show" command on devices to show additional details about the
configuration.

Thanks in advance

Ronny

14 REPLIES 14
TTr
Honored Contributor

Re: DL380 G9: Enable HDD uid on CentOS using hpssacli

I don't have access to a CLI right now but in all the examples I see, the "pd" does not have the port component, only the box and bay. Try 

=> ctrl slot=1 pd 3:1 modify led=on

Jimmy Vance
HPE Pro

Re: DL380 G9: Enable HDD uid on CentOS using hpssacli

I don't think that command is supported when the controller is in HBA mode

No support by private messages. Please ask the forum! Accept or KudoI work for HPE
Ronny_
Occasional Advisor

Re: DL380 G9: Enable HDD uid on CentOS using hpssacli

Thanks, but no change.

Ronny_
Occasional Advisor

Re: DL380 G9: Enable HDD uid on CentOS using hpssacli

Oh :(

Is there any other chance to identifiy disks?

TTr
Honored Contributor

Re: DL380 G9: Enable HDD uid on CentOS using hpssacli

The quickspecks document has numbers on each disk slot on page 65,66. I  

https://www.hpe.com/h20195/v2/getpdf.aspx/c04346247.pdf

But I think these are for counting the total disks because they renumber the disks when more cages are added. Nevertheless they follow left to right numbering.

To be absolutely certain, create sustained reading using the "dd" command on one of the disks and observe the activity light blink continuously. 

Ronny_
Occasional Advisor

Re: DL380 G9: Enable HDD uid on CentOS using hpssacli

Because this machines are in production ... I have no chance to try this with dd :)

TTr
Honored Contributor

Re: DL380 G9: Enable HDD uid on CentOS using hpssacli

The dd command in read mode is harmless and you only need to run it for 2-3 seconds to notice the start and stop of sustained i/o. I have done it many times on production systems. Unless of course your disks have already sustained i/o and the activity light is on solid. What other choice do you have?  In every picture I saw, the disks are numbered 1- 8 in each cage left to right. If you wanted to remove disk sdc and I told you to pull out disk #3, would you do it? No. I wouldn't either.

Jimmy Vance
HPE Pro

Re: DL380 G9: Enable HDD uid on CentOS using hpssacli

The problem you could run into in the case of a failed disk in HBA mode.  If the system is rebooted before the failed disk is replaced, all the disks after the failure will renumber themselves by one. 

Example:

You have 8 drives /dev/sda - /dev/sdh. If disk 3 (sdc) fails, during a reboot sdd becomes sdc, sde becomes sdd and so on

I haven't verified this on an 'H' or 'P' series controller in HBA mode, but this is how the embedded SATA controller functions

 

 

 

No support by private messages. Please ask the forum! Accept or KudoI work for HPE
Ronny_
Occasional Advisor

Re: DL380 G9: Enable HDD uid on CentOS using hpssacli

Sure, you are right. dd in read mode is harmless. Well, we are running ceph on this nodes and the drive LEDs are blinking and running all the times. I just checked this. So I did not see any change when using dd.