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 5000, 5000F, 6000, and 6000F V5 Series V500R007

This document is applicable to OceanStor 5110 V5, 5110F V5, 5300 V5, 5500 V5, 5600 V5, 5800 V5, 6800 V5, 5300F V5, 5500F V5, 5600F V5, 5800F V5, and 6800F V5. 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.
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-11

Document ID: EDOC1000181619

Views: 631258

Downloads: 252

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