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

Command Reference 10

OceanStor 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3 Storage System V300R003

"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).
create cache_partition

create cache_partition

Function

create cache_partition command is used to create a cache partition.

Format

create cache_partition name=? storage_engine_id=? expect_read_size=? expect_write_size=?

Parameters

Parameter

Description

Value

name=? Cache partition name.

The value contains 1 to 31 characters including digits, letters, hyphens (-), underscores (_), and periods (.).

storage_engine_id=? ID of an engine where a cache partition resides.

To obtain the value, run "show storage_engine".

expect_read_size=? Desired cache read capacity.

The value is an integer multiple of 128, ranging from 256 to 67,108,864, expressed in MB.

expect_write_size=? Desired cache write capacity.

The value is an integer multiple of 128, ranging from 256 to 67,108,864, expressed in MB.

Level

Administrator

Usage Guidelines

None

Example

Create cache partition "Cache_001" on engine "0" and set the desired cache read and write capacities to "512MB" and "512MB" respectively. The ID and output vary depending on a specific product.

admin:/>create cache_partition name=Cache_001 storage_engine_id=0 expect_read_size=512 expect_write_size=512
CAUTION: You are about to create SmartPartition. 
This operation may affect the performance of LUN or file system. 
Suggestion: Before performing this operation, ensure that the preceding risk is acceptable and the SmartPartition is correctly configured.
Do you wish to continue?(y/n)y
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-22

Document ID: EDOC1000084195

Views: 348878

Downloads: 1583

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