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

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

Format

clear cifs share_cache share_id=? contorller=? [ domain_name=? ] [ user_name=? ]

Parameters

Parameter

Description

Value

share_id

Indicates the share ID.

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.

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138381

Views: 661069

Downloads: 36

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