WE'RE HERE TO HELP


Ultrastar Data60/Data102/Serv60+8 - Identifying Components Within the Enclosure

Published 10/08/2020 03:28 PM   |    Updated 10/08/2020 03:43 PM

Purpose/Background: 

This article provides instructions and commands on how to set the identification bit On or Off (0 = OFF | 1 = ON) for different component within the enclosure.

The following components can be identified with these commands.

  • Enclosure 
  • Drive Slot
  • IOMs
  • Rear Enclosure Fans

Applies to:

Products Firmware
Data60 NA
Data102 NA
Serv60+8 NA

Required Tools:

Workflow/Resolution Steps:

Component Index ID
Enclosure Element type: Enclosure, subenclosure id: 0 [ti=1]
Drive Slots Element type: Array device slot, subenclosure id: 0 [ti=0]
IOMs Element type: Enclosure services controller electronics, subenclosure id: 0 [ti=5]
Rear Enclosure Fans Element type: Cooling, subenclosure id: 0 [ti=3]

Note: <ti=#> is the component index ID. To find the enclosure index for example, use the following command with the appropriate sg device number: sg_ses <dev> -p2 | grep -i ti=

Note: sg_ses <dev> -I1,0 -S ident. In the index portion of the command, the letter I is an upper case i.
 

Set Identification Bit on the Enclosure

Command: sg_ses <dev> -I1,0 -S ident

root@r730-css-c4:~# sg_ses /dev/sg2 -I1,0 -S ident
root@r730-css-c4:~# sg_ses /dev/sg2 -I1,0
  HGST  H4060-J  2052
  Primary enclosure logical identifier (hex): 5000ccab05000900
Enclosure Status diagnostic page:
  INVOP=0, INFO=1, NON-CRIT=0, CRIT=0, UNRECOV=0
  generation code: 0x0
  status descriptor list
      Element 0 descriptor:
        Predicted failure=0, Disabled=0, Swap=0, status: OK
        Ident=1, Time until power cycle=0, Failure indication=0
        Warning indication=0, Requested power off duration=0
        Failure requested=0, Warning requested=0

Note: After issuing the command, the Ident value will switch from "0" to "1" (as shown in the Example and Output code block). At this point the Enclosure Identification LED will start blinking.

Clear Identification Bit on the Enclosure

Command: sg_ses <dev> -I1,0 -C ident

root@r730-css-c4:~# sg_ses /dev/sg2 -I1,0 -C ident
root@r730-css-c4:~# sg_ses /dev/sg2 -I1,0
  HGST  H4060-J  2052
  Primary enclosure logical identifier (hex): 5000ccab05000900
Enclosure Status diagnostic page:
  INVOP=0, INFO=1, NON-CRIT=0, CRIT=0, UNRECOV=0
  generation code: 0x0
  status descriptor list
      Element 0 descriptor:
        Predicted failure=0, Disabled=0, Swap=0, status: OK
        Ident=0, Time until power cycle=0, Failure indication=0
        Warning indication=0, Requested power off duration=0
        Failure requested=0, Warning requested=0

Note: After issuing the command, the Ident value will switch from "1" to "0" (as shown in the Example and Output code block). At this point the Enclosure Identification LED will stop to blinking.

Set Identification Bit on a Drive Slot

Command: sg_ses <dev> -I0,<drive slot#> -S ident

root@r730-css-c4:~# sg_ses /dev/sg2 -I0,0 -S ident
root@r730-css-c4:~# sg_ses /dev/sg2 -I0,0
  HGST  H4060-J  2052
  Primary enclosure logical identifier (hex): 5000ccab05000900
Enclosure Status diagnostic page:
  INVOP=0, INFO=1, NON-CRIT=0, CRIT=0, UNRECOV=0
  generation code: 0x0
  status descriptor list
      Element 0 descriptor:
        Predicted failure=0, Disabled=0, Swap=0, status: OK
        OK=1, Reserved device=0, Hot spare=0, Cons check=0
        In crit array=0, In failed array=0, Rebuild/remap=0, R/R abort=0
        App client bypass A=0, Do not remove=0, Enc bypass A=0, Enc bypass B=0
        Ready to insert=0, RMV=0, Ident=1, Report=0
        App client bypass B=0, Fault sensed=0, Fault reqstd=0, Device off=0
        Bypassed A=0, Bypassed B=0, Dev bypassed A=0, Dev bypassed B=0

Note: After issuing the command, the Ident value will switch from "0" to "1" (as shown in the Example and Output code block). At this point the specified drive slot LED will start blinking.

Clear Identification Bit on a Drive Slot

Command: sg_ses <dev> -I0,<drive slot#> -C ident

root@r730-css-c4:~# sg_ses /dev/sg2 -I0,0 -C ident
root@r730-css-c4:~# sg_ses /dev/sg2 -I0,0
  HGST  H4060-J  2052
  Primary enclosure logical identifier (hex): 5000ccab05000900
Enclosure Status diagnostic page:
  INVOP=0, INFO=1, NON-CRIT=0, CRIT=0, UNRECOV=0
  generation code: 0x0
  status descriptor list
      Element 0 descriptor:
        Predicted failure=0, Disabled=0, Swap=0, status: OK
        OK=1, Reserved device=0, Hot spare=0, Cons check=0
        In crit array=0, In failed array=0, Rebuild/remap=0, R/R abort=0
        App client bypass A=0, Do not remove=0, Enc bypass A=0, Enc bypass B=0
        Ready to insert=0, RMV=0, Ident=0, Report=0
        App client bypass B=0, Fault sensed=0, Fault reqstd=0, Device off=0
        Bypassed A=0, Bypassed B=0, Dev bypassed A=0, Dev bypassed B=0

Note: After issuing the command, the Ident value will switch from "1" to "0" (as shown in the Example and Output code block). At this point the specified drive slot LED will stop blinking.


Set Identification Bit on IOMs

Command: sg_ses <dev> -I5,0 -S ident (On a SAS configuration, the IOM index ranges from -I5,0 through -I5,1)

root@r730-css-c4:~# sg_ses /dev/sg2 -I5,0 -S ident
root@r730-css-c4:~# sg_ses /dev/sg2 -I5,0
  HGST  H4060-J  2052
  Primary enclosure logical identifier (hex): 5000ccab05000900
Enclosure Status diagnostic page:
  INVOP=0, INFO=1, NON-CRIT=0, CRIT=0, UNRECOV=0
  generation code: 0x0
  status descriptor list
      Element 0 descriptor:
        Predicted failure=0, Disabled=0, Swap=0, status: OK
        Ident=1, Fail=0, Do not remove=0, Report=0, Hot swap=1

Note: After issuing the command, the "Ident" value will switch from "0" to "1" (as shown in the Example and Output code block). At this point the specified IOM LED will start blinking.


Clear Identification Bit on IOMs

Command: sg_ses <dev> -I5,0 -C ident (On a SAS configuration, the IOM index ranges from -I5,0 through -I5,1)

root@r730-css-c4:~# sg_ses /dev/sg2 -I5,0 -C ident
root@r730-css-c4:~# sg_ses /dev/sg2 -I5,0
  HGST  H4060-J  2052
  Primary enclosure logical identifier (hex): 5000ccab05000900
Enclosure Status diagnostic page:
  INVOP=0, INFO=1, NON-CRIT=0, CRIT=0, UNRECOV=0
  generation code: 0x0
  status descriptor list
      Element 0 descriptor:
        Predicted failure=0, Disabled=0, Swap=0, status: OK
        Ident=0, Fail=0, Do not remove=0, Report=0, Hot swap=1

Note: After issuing the command, the "Ident" value will switch from "1" to "0" (as shown in the Example and Output code block). At this point the specified IOM LED will stop blinking.

Set Identification Bit on Rear Enclosure Fans

Command: sg_ses <dev> -I3,<fan#> -S ident (Since the enclosure has 4 fans, the fan index will range from -I3,0 through -I3,3)

root@r730-css-c4:~# sg_ses /dev/sg2 -I3,0 -S ident
root@r730-css-c4:~# sg_ses /dev/sg2 -I3,0
  HGST  H4060-J  2052
  Primary enclosure logical identifier (hex): 5000ccab05000900
Enclosure Status diagnostic page:
  INVOP=0, INFO=1, NON-CRIT=0, CRIT=0, UNRECOV=0
  generation code: 0x0
  status descriptor list
      Element 0 descriptor:
        Predicted failure=0, Disabled=0, Swap=0, status: OK
        Ident=1, Do not remove=0, Hot swap=1, Fail=0, Requested on=1
        Off=0, Actual speed=7210 rpm, Fan at third lowest speed

Note: After issuing the command, the "Ident" value will switch from "0" to "1" (as shown in the Example and Output code block). At this point the specified fan LED will start blinking.

Clear Identification Bit on Rear Enclosure Fans

Command: sg_ses <dev> -I3,<fan#> -C ident (Since the enclosure has 4 fans, the fan index will range from -I3,0 through -I3,3)

root@r730-css-c4:~# sg_ses /dev/sg2 -I3,0 -C ident
root@r730-css-c4:~# sg_ses /dev/sg2 -I3,0
  HGST  H4060-J  2052
  Primary enclosure logical identifier (hex): 5000ccab05000900
Enclosure Status diagnostic page:
  INVOP=0, INFO=1, NON-CRIT=0, CRIT=0, UNRECOV=0
  generation code: 0x0
  status descriptor list
      Element 0 descriptor:
        Predicted failure=0, Disabled=0, Swap=0, status: OK
        Ident=0, Do not remove=0, Hot swap=1, Fail=0, Requested on=1
        Off=0, Actual speed=7200 rpm, Fan at third lowest speed

Note: After issuing the command, the "Ident" value will switch from "1" to "0" (as shown in the Example and Output code block). At this point the specified fan LED will stop blinking.