6.4.3 showdisk
Function
The command
showdisk
is used to query the details about a disk.
Format
showdisk
-p
|
-l
|
-s
subrack ID
-sl
slot ID
|
-h
Parameters
Keyword and Value
Description
Default Value
-p
The physical disk.
None.
-l
The logical disk.
None.
-s subrack ID
The enclosure ID of a disk.
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.
-h
The hot spare disk.
None.
Modes
Normal mode.
Level
Super administrator level, administrator level and guest level.
Usage Guidelines
When using this command, note the following items:
l
The command
showdisk
-p
is used to query the information about a physical disk.
l
The command
showdisk
-l
is used to query the information about a logical disk.
l
The command
showdisk
-s
subrack ID
-sl
slot ID
is used to query the details about a disk
in a specified disk enclosure and slot.
l
The command
showdisk
-h
is used to query the information about a hot spare disk.
Example
Query the details about a hard disk in enclosure
0
, slot
4
.
OceanStor: admin> showdisk -s 0 -sl 4
==============================================
6 Service Management Commands
OceanStor S2600 Storage System
Command Reference
6-34
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 07 (2010-05-20)