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).
change dedup_lun scrub

change dedup_lun scrub

Function

The change dedup_lun scrub command is used to start or stop the scanning for a deduplication LUN. You can run the show dedup_lun scrub command to view details.

Format

change dedup_lun scrub lun_id=? action=? [ mode=? ] [ range=? ] [ speed=? ]

Parameters

Parameter

Description

Value

lun_id=?

LUN ID.

To obtain the value, run the "show lun general" command.

action=?

Operation code.

The value can be "start" or "stop", where:

  • "start": starts LUN scanning.
  • "stop": stops LUN scanning.

range=?

LUN scanning range.

The value can be "meta" or "all", where:

  • "meta": all metadata.
  • "all": all metadata and data.

The default value is "meta".

mode=?

LUN scanning mode.

The value can be "raid_verify", "checksum", or "all", where:

  • "raid_verify": stripe consistency check.
  • "checksum": integrity check.
  • "all": stripe consistency check and integrity check.

The default value is "checksum".

speed=?

Scanning speed.

The value can be "high" or "normal", where:

  • "high": The scanning speed is high, which remarkably deteriorates system performance.
  • "normal": The scanning speed is normal, which has a moderate impact on system performance.

The default value is "normal".

Views

Developer view

Usage Guidelines

  • Running the "show dedup_lun scrub" command displays scanning details.
  • Running the "show dedup_lun scrub_error_info" command displays error details.
  • After the scanning, run the "show dedup_lun scrub_error_info" command. If error details are returned, save the details in a local computer and contact technical support engineers.
  • If the controller switches during the scanning process, the scan progress and scan result are all lost.You need to rescan.
  • To prevent a scanning task from being interrupted by multipath switchover, disable multipath switchover before starting scanning.

Example

  • Start the scanning for deduplication LUN "1" to scan all metadata and data in checksum mode at a high speed.
    developer:/>change dedup_lun scrub lun_id=1 action=start range=all mode=checksum speed=high 
    CAUTION: You are about to start integrity scanning for the deduplication LUN. Before performing this operation, note the following:  
    1. The performance of the deduplication LUN may deteriorate during the operation.  
    2. To prevent integrity scanning from being interrupted by multipath switchover, disable multipath switchover before starting integrity scanning.  
    Suggestion: Before performing this operation, ensure that you have selected the correct deduplication LUN and integrity scanning needs to be started for the LUN. Before integrity scanning is complete, do not configure and maintain the system. 
    Do you wish to continue?(y/n)y 
    Command executed successfully.
  • Stop the scanning for deduplication LUN "1".
    developer:/>change dedup_lun scrub lun_id=1 action=stop 
    CAUTION: You are about to stop integrity scanning for the deduplication LUN.  
    Suggestion: Before performing this operation, ensure that you have selected the correct deduplication LUN and integrity scanning needs to be stopped for the LUN. 
    Do you wish to continue?(y/n)y 
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181619

Views: 617372

Downloads: 244

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