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


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


Command Reference for Block

OceanStor Dorado V3 Series V300R002

This document is applicable to OceanStor Dorado3000 V3, Dorado5000 V3, Dorado6000 V3 and Dorado18000 V3. Based on the CLI provided by the DeviceManager, this document describes how to use various commands classified by functions and 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 system media_scan

change system media_scan


The change system media_scan command is used to modify the settings of disk media scanning.


change system media_scan { status=? | scan_io_type=? | scan_period=? | scan_max_bandwidth=? | disk_usage_threshold=? } *






Whether to start or stop disk media scanning.

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

  • "start": Disk media scanning will be started.
  • "stop": Disk media scanning will be stopped.


I/O type of media scanning.

The value is "read" or "verify". When the value is "verify", which means read and verification are required.


Recovery scanning period.

The value ranges from 1 to 60, expressed in days.


The maximum bandwidth occupied by scanning.

The value ranges form 1 to 10, expressed in Mbps.


Disk usage threshold, indicating the percentage of the occupied disk space in the total disk space. When the percentage of the occupied disk space is greater than the threshold, media scanning is stopped automatically.

The value ranges from 1 to 100, expressed in percentage (%).



Usage Guidelines



To enable disk media scanning, where the I/O type is "verify", the recovery scanning period is seven days, the maximum bandwidth occupied by scanning is "1Mbps", and the disk usage threshold is "50%", run the following command:

admin:/>change system media_scan status=start scan_io_type=verify scan_period=7 scan_max_bandwidth=1 disk_usage_threshold=50 
WARNING: You are going to adjust background scanning parameters. The background scanning parameters include the allowable upper limit for scanning the disk utilization, scanning type, maximum scanning bandwidth, scanning period, and scanning function switch. 
Suggestion: Perform this operation based on system reliability need. This operation may affect system performance to some extent. 
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


Updated: 2019-07-16

Document ID: EDOC1100049140

Views: 123468

Downloads: 155

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