Subrack ID Type Status Temperature(°C) Physical Type Serial
Number
0 Controller Online -- SAS
000000000031
5.1.2 deletesubrack
Function
The command
deletesubrack
is used to delete a disk enclosure.
Format
deletesubrack
-s
subrack ID
Parameters
Keyword and Value
Description
Default Value
-s subrack ID
The ID of a disk enclosure.
The value ranges from 1 to 7.
None.
Modes
Normal mode.
Level
Super administrator level and administrator level.
Usage Guidelines
When using this command, note the following items:
l
The command
deletesubrack
can be used only when the storage system is in dual-
controller mode and it's two controllers are in the normal state.
l
The disk enclosure must be in the offline state and have no member disk of a RAID group.
Example
Delete a disk enclosure
1
.
OceanStor: admin> deletesubrack -s 1
delete subrack 1? y or n:y
5.2 Disk Management Commands
Disk management commands are used to manage disks.
5.2.1 showdiskinfo
5 Device Management Commands
OceanStor S2600 Storage System
Command Reference
5-4
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 07 (2010-05-20)