No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Advanced O&M Command Reference

OceanStor 2000, 5000, and 6000 V3 Series V300R006

This document is applicable to OceanStor 2200 V3, 2600 V3 Video Surveillance Edition, 2600 V3, 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3. Based on the CLI, this document describes how to use various commands classified by functionsand how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
disklog showrepair

disklog showrepair

Function

The disklog showrepair command is used to query the repair status and progress.

Format

disklog showrepair -t type -p poolid [-d diskid]

Parameters

Parameter

Description

Value

type

Repair type.

The value can be "FORMAT", means format log type.

poolid

Disk domain ID.

To obtain the value, run the "show disk_domain general" command in guest view.

diskid

Logical disk ID.

To obtain the value, run the "pmgr showdisk" command.

Views

Diagnostic view

Usage Guidelines

None

Example

Query the formatting repair status and progress of pool "0".

admin:/diagnose>disklog showrepair -t FORMAT -p 0 
SWITCH: ON 
STATUS: IDLE 
DISK_ID          REPAIR_COUNT     FAILE_COUNT      CUR_LBA          CAPACITY         PROGRESS          
521              55               0                1145601710       1145601710       100               
522              55               0                1145601710       1145601710       100               
523              55               0                1145601710       1145601710       100                  
ZONE_ID          CKG_COUNT        FAIL_CKG_COUNT REPAIR_LOG_CNT FAIL_LOG_CNT      
0x0                0                0                0                0                 
0x4002             0                0                0                0                 
0x8004             0                0                0                0

System Response

The following table describes the parameter meanings.

Parameter

Meaning

SWITCH

Switch of the repair function.

STATUS

Repair status.

DISK_ID

Disk ID.

REPAIR_COUNT

Count of repaired logs.

FAILE_COUNT

Count of logs that fail to be repaired.

CUR_LBA

Repair LBA.

CAPACITY

Capacity of repaired logs.

PROGRESS

Repair progress.

ZONE_ID

Zone ID.

CKG_COUNT

Count of repaired CKGs.

FAIL_CKG_COUNT

Count of CKGs that fail to be repaired.

REPAIR_LOG_CNT

Count of repaired logs.

FAIL_LOG_CNT

Count of logs that fail to be repaired.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138402

Views: 605491

Downloads: 693

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next