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).
add cache_partition file_system

add cache_partition file_system

Function

The add cache_partition file_system command is used to add filesystem(s) to a specified cache partition.

Format

add cache_partition file_system cache_partition_id=? file_system_id_list=?

Parameters

Parameter

Description

Value

cache_partition_id=? ID of the cache partition to which you want to add filesystem(s).

To obtain the value, run "show cache_partition general".

file_system_id_list=? ID list of the filesystem(s) that you want to add to a cache partition.
  • To obtain the value, run "show file_system general".
  • If you need to add multiple filesystem(s), separate the filesystem IDs with commas (,),or ID range separated by hyphens(-), such as: 0,5-8.

Level

Administrator

Usage Guidelines

None

Example

To add filesystem 0 to cache partition 0, run the following command.

admin:/>add cache_partition file_system cache_partition_id=0 file_system_id_list=0
DANGER: You are about to add file system into SmartPartition.
This operation may affect file system performance. During the operation, this file system cannot process new I/O requests. The file system can process new I/O requests when its health status is "Normal" and its running status is "Online".
Suggestion: Before performing this operation, ensure that the preceding risk is acceptable and the correct SmartPartition and file system are selected.
Have you read danger alert message carefully?(y/n)y
Are you sure you really want to perform the operation?(y/n)y
Add file system 0 to cache partition successfully.

System Response

None

Translation
Download
Updated: 2019-07-22

Document ID: EDOC1000084195

Views: 362593

Downloads: 1590

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