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

OceanStor 2800 V3 V300R006

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

show share_permission nfs

Function

The show share_permission nfs command is used to query information about NFS share permissions.

Format

show share_permission nfs [ [ share_permission_id=? ] | [ share_id=? ] ]

Parameters

Parameter

Description

Value

share_permission_id=?

NFS share permission ID.

The value ranges from 1 to 18446744073709551615.

share_id=?

NFS share ID.

The value ranges from 1 to 18446744073709551615.

Level

Guest

Usage Guidelines

Parameters share_permission_id and share_id are mutually exclusive.

Example

  • Query the permission of an NFS share with a specific share ID.
    admin:/>show share_permission nfs share_id=6 
    Share Permission ID Access Name Share ID Access Type  
    ------------------- ----------- -------- -----------  
    6                   *           6        Read Write
  • Query the permission of an NFS share with a specific share permission ID.
    admin:/>show share_permission nfs share_permission_id=6 
      Share Permission ID : 6          
      Access Name         : *          
      Share ID            : 6          
      Access Type         : Read Write  
      Sync Enabled        : No         
      All Squash Enabled  : No         
      Root Squash Enabled : No 
      Secure Enabled : No 
      Charset           : Default 
      Anonymous User ID : 65534
  • Query permissions of all the NFS shares.
    admin:/>show share_permission nfs 
    Share Permission ID  Access Name  Share ID  Access Type 
    -------------------  -----------  --------  ----------- 
    6                    *            6         Read Write 
    7                    *            7         Read Write 
    8                    *            8         Read Write 
    9                    *            9         Read Write 
    10                   *            10        Read Write

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Share Permission ID

NFS share permission ID.

Access Name

Access object. The object can be an IP address, host name, network group, or network segment.

Share ID

NFS share ID.

Access Type

NFS share access type.

Sync Enabled

Whether NFS share write synchronization is enabled.

All Squash Enabled

Whether the permissions of all users that access the NFS share are compressed.

Root Squash Enabled

Whether the permissions of super users that access the NFS share are compressed.

Secure Enabled

Whether an NFS share supports security ports.

CharSet

Encoding mode of the NFS share.

Anonymous User ID

Mapping value of the UID and GID of an anonymous NFS share user.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138382

Views: 313492

Downloads: 38

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