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 5000, 5000F, 6000, and 6000F V5 Series V500R007

This document is applicable to OceanStor 5110 V5, 5110F V5, 5300 V5, 5500 V5, 5600 V5, 5800 V5, 6800 V5, 5300F V5, 5500F V5, 5600F V5, 5800F V5, and 6800F 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 file_system switch

change file_system switch

Function

The change file_system switch command is used to enable or disable the sub-function of a file system.

Format

change file_system switch file_system_id=? controller=? subfunction=? switch=?

Parameters

Parameter

Description

Value

file_system_id

File system ID.

To obtain the value, run the "show file_system general" command.

controller

Controller ID.

The value is in the format of "XA" or "XB" or "XC" or "XD", where the "X" is an integer ranging from 0 to 3, for example: "0A", "1C".

subfunction

Sub-function.

The value is "bonuscache","pal_background","snap_background","flowctrl_background" or "gang_subblockcrc".

switch

Whether the function is enabled or disabled.

The value is "on" or "off".

Views

Developer view

Usage Guidelines

The sub-function is enabled by default and restored to the default setting after disk arrays are restarted, powered off, or powered on, or controllers are reset. To modify the file system sub-function status, you need to specify a controller (only the status of the working controller can be modified) and the modification only takes effect on the specified controller. For example, if the sub-function is disabled on working controller A in a filesystem and then the working controller is switched to controller B, the sub-function will be enabled. After the working controller is switched back to controller A, the sub-function will be disabled.

Example

Enable or disable the sub-function of a file system.

developer:/>change file_system switch file_system_id=3 controller=0B subfunction=bonuscache switch=on  
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181619

Views: 591687

Downloads: 233

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