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

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F 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 disk schedule_work_status

change disk schedule_work_status

Function

The change disk schedule_work_status command is used to set the I/O scheduling mode of a specific type of disks.

Format

change disk schedule_work_status work_status=? { scenario=? | medium_type=? } *

Parameters

Parameter

Description

Value

medium_type=? Disk type.

The value can be "fc", "sas", "sata", "ssd", "nl_sas", "slc_ssd", "mlc_ssd", or "nvme_ssd", where:

  • "fc": FC.
  • "sas": SAS.
  • "sata": SATA.
  • "ssd": SSD.
  • "nl_sas": NL_SAS.
  • "slc_ssd": SLC_SSD.
  • "mlc_ssd": MLC_SSD.
  • "nvme_ssd": NVMe_SSD.
scenario=? Application scenario.

The value is "smr".

work_status=? Working mode of the scheduler.

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

  • "normal": normal mode.
  • "read_first": read-first mode.

Views

Developer view

Usage Guidelines

Change the I/O scheduling mode of disks based on disk performance requirements.

Example

  • Set the I/O scheduling mode of all SAS disks whose application scenario is SMR to read first.

    developer:/>change disk schedule_work_status work_status=read_first medium_type=sas scenario=smr
    DANGER: You are about to change the I/O scheduling mode of disks. This operation may cause system abnormalities.
    Suggestion: Note the following before and after the command execution:
    1. Ensure that the command is to be executed by the R&D personnel.
    2. This command changes the I/O scheduling mode of disks, which may deteriorate system read and write performance.
    3. After executing this command, check whether the service system is running correctly.
    Have you read danger alert message carefully?(y/n)y
     
    Are you sure you really want to perform the operation?(y/n)y
    Command executed successfully.
  • Set the I/O scheduling mode of all SAS disks to read first.

    developer:/>change disk schedule_work_status work_status=read_first medium_type=sas 
    DANGER: You are about to change the I/O scheduling mode of disks. This operation may cause system abnormalities.
    Suggestion: Note the following before and after the command execution:
    1. Ensure that the command is to be executed by the R&D personnel.
    2. This command changes the I/O scheduling mode of disks, which may deteriorate system read and write performance.
    3. After executing this command, check whether the service system is running correctly. 
    Have you read danger alert message carefully?(y/n)y
     
    Are you sure you really want to perform the operation?(y/n)y
    Command executed successfully.
  • Set the I/O scheduling mode of all disks whose application scenario is SMR to read first.

    developer:/>change disk schedule_work_status work_status=read_first scenario=smr 
    DANGER: You are about to change the I/O scheduling mode of disks. This operation may cause system abnormalities.
    Suggestion: Note the following before and after the command execution:
    1. Ensure that the command is to be executed by the R&D personnel.
    2. This command changes the I/O scheduling mode of disks, which may deteriorate system read and write performance.
    3. After executing this command, check whether the service system is running correctly. 
    Have you read danger alert 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: 2020-01-17

Document ID: EDOC1000181602

Views: 748824

Downloads: 64

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next