No relevant resource is found in the selected language.
Your browser version is too early. Some functions of the website may be unavailable. To obtain better user experience, upgrade the browser to the latest version.
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.
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).
clear cifs share_cache
clear cifs share_cache
Function
The clear cifs share_cache command is used to clear cache information about a specified share.
The value is an integer ranging from 0 to 18446744073709551615.
controller
Controller ID.
The value is in the format of "XA" or "XB" or "XC" or "XD", where the "X" is an integer ranging from 0 to 3, for example: "0A", "1C".
domain_name
Domain name.
The value contains 1 to 255 characters.
user_name
User name.
The value contains 1 to 255 characters.
Views
Developer view
Usage Guidelines
None
Example
Clear the cache of a share with a specific ID.
developer:/>clear cifs share_cache share_id=1 controller=0A
WARNING: You are about to clear the cache of a share. This operation will interrupt services on the specified share.
Suggestion: Confirm that you want to clear the cache of the specified share.
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.
Clear the cache of a share with a specific ID.
developer:/>clear cifs share_cache share_id=2 contorller=0A domain_name=aa user_name=bb
WARNING: You are about to clear the cache of a share. This operation will interrupt services on the specified share.
Suggestion: Confirm that you want to clear the cache of the specified share.
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.