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

This document is applicable to OceanStor 18500 V3 and 18800 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 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-03-30

Document ID: EDOC1000138389

Views: 394874

Downloads: 80

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