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 cache_partition ratio

change cache_partition ratio

Function

The change cache_partition ratio command is used to change cache partition ratios.

Format

change cache_partition ratio master_node_ratio=? default_partition_ratio=? max_memory_ratio=? write_ratio=? volume_ratio=? fs_cache_ratio=? san_cache_ratio=?

Parameters

Parameter

Description

Value

master_node_ratio=?

Ratio of the read partition used by the primary node in an engine to the total partition.

The value ranges from 0 to 99.

default_partition_ratio=?

Ratio of the minimum partition capacity and partition capacity on the CMM page to the total capacity.

The value ranges from 0 to 99.

max_memory_ratio=?

Ratio of maximum memory that can be used for partitions to the total memory.

The value ranges from 0 to 99.

write_ratio=?

Ratio of write I/Os to the total I/Os.

The value ranges from 0 to 99.

volume_ratio=?

Ratio of volume cache write quotas to the total write quotas.

The value ranges from 0 to 99.

fs_cache_ratio=?

Volume cache ratio of file system and ROW LUN that can be used in cache partition.

The value ranges from 20 to 100.

san_cache_ratio=?

Volume cache ratio of SAN that can be used in cache partition.

The value ranges from 20 to 100.

Views

Developer view

Usage Guidelines

None

Example

Change the read partition ratio of the primary node, default partition capacity ratio, ratio of maximum capacity for partitions, ratio of write I/Os, ratio of volume cache write quota, ratio of file system in volume cache and ratio of SAN in volume cache respectively to 50, 50, 50, 60, 17, 90 and 90.

developer:/>change cache_partition ratio master_node_ratio=50 default_partition_ratio=50  
max_memory_ratio=50 write_ratio=60 volume_ratio=17 fs_cache_ratio=90 san_cache_ratio=90 
WARNING:You are about to modify the quota ratio of SmartPartition. This operation will cause cache  
resource to be re-allocated, then system performance may be degraded. 
Suggestion:Before performing this operation, ensure that the correct parameter is configured. 
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

None

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181619

Views: 631937

Downloads: 252

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