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).
change dif repair_type

change dif repair_type

Function

The change dif repair_type command is used to manually set the DIF repair type, and the configuration is still effective after the system is restarted.

Format

change dif repair_type type=?

Parameters

Parameter

Description

Value

type=?

Repair type.

The default value is "return_error", where:

  • return_error: returns the incorrect I/Os.
  • fill_zero: fills all-zero data to return correct I/Os.
  • replace_dif: calculates the DIF by using the original data to return correct I/Os.

Views

Developer view

Usage Guidelines

This command is used to set the repair type when DIF verification fails.

Example

  • Modify the DIF repair policy to "return an error when DIF verification fails".
    developer:/>change dif repair_type type=return_error 
    WARNING: You are about to change the DIF recovery type.This operation enables correct I/Os to be returned upon a DIF verification failure but may cause data inconsistency.  
    Suggestion: Keep the default value return_error.If another value is required, restore the value to the default one as soon as possible.  
    Have you read warning message carefully?(y/n)y  
    Are you sure you really want to perform the operation?(y/n)y 
      
    Command executed successfully.
  • Modify the DIF repair policy to "recalculate the DIF when DIF verification fails".
    developer:/>change dif repair_type type=replace_dif 
    WARNING: You are about to change the DIF recovery type.This operation enables correct I/Os to be returned upon a DIF verification failure but may cause data inconsistency.  
    Suggestion: Keep the default value return_error.If another value is required, restore the value to the default one as soon as possible.  
    Have you read warning message carefully?(y/n)y  
    Are you sure you really want to perform the operation?(y/n)y 
      
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138402

Views: 611702

Downloads: 695

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