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.


Advanced O&M Command Reference

OceanStor 2800 V5 V500R007

This document is applicable to OceanStor 2800 V5. 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 cache_partition ratio

change cache_partition ratio


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


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





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.


Developer view

Usage Guidelines



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


Updated: 2020-01-17

Document ID: EDOC1000181575

Views: 719203

Downloads: 31

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next