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).
show share cifs

show share cifs

Function

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

Format

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

Parameters

Parameter

Description

Value

share_id=? CIFS share ID.

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

file_system_id=? File system ID.

The value is an integer between 0 and 65535.

Level

Guest

Usage Guidelines

share_id and file_system_id are mutually exclusive.

Example

  • Query all CIFS shares.

    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/
  • Query a CIFS share with a specific ID.

    admin:/>show share cifs share_id=3
     
    Share ID : 3
    Name : cifs1
    File System ID : 0
    Description : --
    Local Path : /fs001/
    Oplock Enabled : Enable
    Notify Enabled : Enable
    Continue Available Enabled : Disable
    Offline File Mode : manual
    Smb2_ca_enabled : Enable
    IP Access Control : Enable
    File Extenson Filter : Disable
    Apply Default ACL : Enable
  • Query the CIFS share that is associated with a specific file system.

    admin:/>show share cifs file_system_id=0
     
    Share ID  Name  File System ID  Local Path  Oplock Enabled  Notify Enabled  Continue Available Enabled  Offline File Mode  Smb2 CA Enabled  IP Access Control File Extension Filter  Apply Default ACL
    -------- ------------------ -------------- ------------------ -------------- -------------- -------------------------- -----------------    ----------------- --------------------- ------
    3        cifs1        0           /fs001/         Enable         Enable             Disable                manual               Enable            Enable              Enable
    4        cifs2        0           /fs001/         Enable         Enable               Disable              manual               Enable            Enable              Disable               Enable

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Share ID

Share ID.

Name

Share name.

File System ID

File system associated with the CIFS share.

Local Path

Local path.

Description

Description.

Oplock Enabled

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

Notify Enabled

Switch of the Notify function.

Continue Available Enabled

Switch of the continue_available function.

IP Access Control

Switch of the IP address access control.

Smb2 CA Enabled

Switch of the SMB2 failover function.

Offline File Mode

Offline cache mode.

File Extension Filter

Switch of filtering file name extensions.

Apply Default ACL

Application of the default ACL switch in the shared root directory.

Translation
Download
Updated: 2019-07-22

Document ID: EDOC1000084195

Views: 346130

Downloads: 1581

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