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 10

OceanStor 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3 Storage System V300R003

"Based on the CLI, 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. 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 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 Mbit/s.

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 Mbit/s.



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 "1Mbit/s", and the disk usage threshold is "50%", the number of concurrently scanned disks is "50", and the bandwidth for scanning the disk is "1Mbit/s", 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.
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-22

Document ID: EDOC1000084195

Views: 362563

Downloads: 1590

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