Function
The command
chgdisklight
is used to set the status of the running indicator on a disk.
Format
chgdisklight
-o
operate code
-s
subrack id
-sl
slot id
Parameters
Keyword and Value
Description
Default Value
-o operate code
The operation code. The
value can be 0 or 1, and is
described as follows:
l
0: The indicator is off.
l
1: The indicator is on.
None.
-s subrack id
The enclosure ID. The value
ranges from 0 to 7.
None.
-sl slot id
The slot ID of a disk. The
value ranges from 0 to 11.
None.
Modes
Normal mode.
Level
Super administrator level and administrator level.
Usage Guidelines
The command
chgdisklight
is used to set the status of the running indicator on a disk.
Example
Set the status of the running indicator on the disk in slot
4
, enclosure
0
to be on.
OceanStor: admin> chgdisklight -o 1 -s 0 -sl 4
5.3 Controller Management Commands
The controller management commands are used to manage the controller.
5.3.1 showctrlboard
5.3.2 chgctrlmodel
5 Device Management Commands
OceanStor S2600 Storage System
Command Reference
5-6
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 07 (2010-05-20)