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 06

"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_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.
  • This command does not support OceanStor 2200 V3 storage system.

Example

  • To query information about the permissions of an NFS share, run the following command:

    admin:/>show share_permission nfs share_id=6
    Share Permission ID Access Name Share ID Access Type 
    ------------------- ----------- -------- ----------- 
    6                   *           6        Read Write
  • To query information about an NFS share permission, run the following command:

    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 
  • To query information about the permissions of all NFS shares, run the following command.

    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 squashing all users is enabled.

Root Squash Enabled

Whether squashing super users is enabled.

Translation
Download
Updated: 2019-07-22

Document ID: EDOC1000106139

Views: 316562

Downloads: 207

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