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 2800 V3 V300R006

This document is applicable to OceanStor 2800 V3. 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. 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 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", or "mlc_ssd".

scenario=?

Application scenario.

The value is "smr".

work_status=?

Working mode of the scheduler.

The value can be:

"normal" or "read_first".

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 scheduler_work_status medium_type=sas scenario=smr work_status=read_first 
    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 scheduler_work_status medium_type=sas work_status=read_first 
    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 scheduler_work_status scenario=smr work_status=read_first 
    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: 2019-07-12

Document ID: EDOC1000138381

Views: 723841

Downloads: 36

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