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
OceanStor 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5 storage systems. It describes hardware installation of those storage systems for helping you easily and quickly finish the installation.

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=? | parallel_disk_num=? | scan_disk_bandwidth=? } *





status=? 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.
scan_io_type=? I/O type of media scanning.

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

scan_period=? Recovery scanning period.

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

scan_max_bandwidth=? Bandwidth for scanning the disk after the bad sector is detected.

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

disk_usage_threshold=? 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 (%).

parallel_disk_num=? Number of concurrently scanned disks, indicating the number of disks that can be scanned concurrently.

The value ranges from 1 to 256.

scan_disk_bandwidth Bandwidth for scanning the disk before the bad sector is detected.

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



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%", the number of concurrently scanned disks is"50", and the bandwidth for scanning the disk is "1Mbps", 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 parallel_disk_num=50 scan_disk_bandwidth=1
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, scanning function switch, number of concurrently scanned disks, and the bandwidth for scanning the disk is 1Mbps.
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: 2020-03-19

Document ID: EDOC1000181601

Views: 406256

Downloads: 56

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next