
56
Chapter 4. BMC Configuration Settings
J4078-01 User Manual
How to turn on/off the power of a drive slot
Array Device Slot control element
BYTE/BIT
7
6
5
4
3
2
1
0
0
COMMON CONTROL
SELECT PRDFAIL DISABLE
RST
SWAP
Reserved0
1
RQST OK
RQST
RSVD
DEVICE
RQST
HOT
SPARE
RQST
CONS
CHECK
RQST
IN CRIT
ARRAY
RQST IN
FAILED
ARRAY
RQST
REBULD/
REMAP
RQST R/
R ABORT
2
RQST
ACTIVE
DO NOT
REMOVE
Reserved
2
RQST
MISSING
RQST
INSERT
RQST
REMOVE
RQST
IDENT
Reserved
1
3
Reserved
5
Reserved
4
RQST
FAULT
DEVICE
OFF
ENABLE
BYP A
ENABLE
BYP B
Reserved3
The "DEVICE OFF" for a drive slot is defined in the bit4, byte3 of the "Array Device Slot
control element" in the SES specification. Set the bit to turn off a slot power, and vice versa.
We use the software package "sg3_utils" on Linux for example, and have a SAS HBA and a
cable to connect your host with the expander.
(A) Show the device for AIC Expander Controller (canister)
$ sg_map -i
/dev/sg2 AIC 12G 4U78swapEdge 0c31
(B) Get the current state of a slot power. The "Device off=0" means the
slot power is on.
$ sg_ses --page=2 /dev/sg2
Element 0 descriptor:
App client bypass B=0, Fault sensed=0, Fault reqstd=0, Device off=0
(C) Get the descriptor of a slot power
$ sg_ses --page=7 /dev/sg2
Element 0 descriptor: Disk001
(D) Turn off a slot power
$ sg_ses --descriptor=Disk001 --set=3:4:1 /dev/sg2
(E) Turn on a slot power
$ sg_ses --descriptor=Disk001 --clear=3:4:1 /dev/sg2
NOTE
This function is not recommended to use with RAID card due to the RAID card
limitation