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

OceanStor 2200 V3 and 2600 V3 Storage System V300R005 Command Reference

"Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese commands."
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).
show share cifs

show share cifs

Function

The show share cifs command is used to query a CIFS share.

Format

show share cifs [ share_id=? | file_system_id=? ]

Parameters

Parameter

Description

Value

share_id=? Indicates the ID of the CIFS share.

The value is an integer ranging from 0 to 18,446,744,073,709,551,615.

file_system_id=? Indicates the ID of the file system.

The value is an integer between 0 and 65535.

Level

Guest

Usage Guidelines

share_id and file_system_id are mutually exclusive.

This command does not support OceanStor 2200 V3 storage system.

Example

  • To query all CIFS shares, run the following command:

    admin:/>show share cifs
      Share ID  Name   File System ID  Local Path  
      --------  -----  --------------  ----------  
      3         cifs1  0               /fs001/     
      4         cifs2  0               /fs001/     
      5         cifs3  3               /fs002/     
      6         cifs4  3               /fs002/
  • To query a specified CIFS share, run the following command.

     
    admin:/>show share cifs share_id=8
     
    Share ID : 8
    Name : cifs0
    File System ID : 0
    Description :
    Local Path : /fs001/
    Oplock Enabled : Enable
    Notify Enabled : Enable
    Continue Available Enabled : Disable
    Smb2_ca_enabled : Enable
     
  • To query the CIFS share that is associated with a specified file system, run the following command.

     
    admin:/>show share cifs file_system_id=0
     
    Share ID  Name  File System ID  Local Path  Oplock Enabled  Notify Enabled  Continue Available Enabled    Smb2 CA Enabled
    -------- -----  -------------   ----------  --------------  --------------  --------------------------    ---------------
     
    3        cifs1        0           /fs001/         Enable         Enable           Disable                       Enable
    4        cifs2        0           /fs001/         Enable         Enable           Disable                       Enable
    
     
     

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Share ID

Indicates the share ID.

Name

Indicates the share name.

File System ID

Indicates the file system associated with the CIFS.

Local Path

Indicates the local path directory.

Description

Indicates the description information.

Oplock Enabled

Indicates the switch of the opportunistic locking. By using opportunistic locking, a client can lock a file. A server can cancel the locking.

Notify Enabled

Indicates the switch of the notify function.

Continue Available Enable

Indicates the switch of the continue available function.

Smb2 CA Enabled

Indicates the switch of the smb2 continus available function.

Translation
Download
Updated: 2019-04-22

Document ID: EDOC1000106139

Views: 258977

Downloads: 176

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