Usage Guidelines
When using this command, note the following items:
l
The command
staterr
-c
controller ID
-f
is used to collect statistics on error codes of the
FC host ports on a specified controller.
l
The command
staterr
-c
controller ID
-i
is used to collect statistics on error codes of the
iSCSI host ports on a specified controller.
l
The command
staterr
-c
controller ID
-c
is used to collect statistics on error codes of the
mini SAS host ports on a specified controller.
Example
Collect statistics on error codes of the FC host ports on controller A.
OceanStor: admin> staterr -c a -f
Controller Port ID Link Status LSGENum BRCENum LSYNum LFENum
StartTime
A 00 Connected 1 765 255 1
2009-08-25 08:43:12
A 01 Connected 1 765 255 1
2009-08-25 08:43:12
A 02 Connected 1 765 255 1
2009-08-25 08:43:12
A 03 Connected 5 771 255 1
2009-08-25 08:43:12
4.5.6 cleanerr
Function
The command
cleanerr
is used to clear the error codes of the FC host ports and restart the
statistics of error codes.
Format
cleanerr
[
-c
controller ID
]
Parameters
Keyword and Value
Description
Default Value
-c controller ID
The controller ID. The value
is A or B, and is case
insensitive.
None.
Modes
Normal mode.
OceanStor S2600 Storage System
Command Reference
4 System Management Commands
Issue 07 (2010-05-20)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4-23