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


To have a better experience, please upgrade your IE browser.


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).
create share_permission nfs

create share_permission nfs


The create share_permission nfs command is used to creat an NFS share permission.


create share_permission nfs access_name=? share_id=? access_type=? sync_enabled=? all_squash_enabled=? root_squash_enabled=?





access_name=? Access object. The object can be an IP address, host name, network group, network segment or asterisk(*).

The value consists of 1 to 256 characters.

share_id=? NFS share ID.

The value ranges from 1 to 18446744073709551615.

access_type=? NFS share access type.

Possible values are read_only and read_write, where:

  • read_only: read-only permission
  • read_write: read and write permission.
sync_enabled=? Whether NFS share write synchronization is enabled.

Possible values are yes and no, where:

  • yes: NFS share write synchronization is enabled.
  • no: NFS share write synchronization is disabled.
all_squash_enabled=? Whether squashing all users is enabled.

Possible values are yes and no, where:

  • yes: Squashing all users is enabled.
  • no: Squashing all users is disabled.
root_squash_enabled=? Whether squashing super users is enabled.

Possible values are yes and no, where:

  • yes: Squashing super users is enabled.
  • no: Squashing super users is disabled.



Usage Guidelines

This command does not support OceanStor 2200 V3 storage system.


To create nfs share permission.

admin:/>create share_permission nfs access_name=* share_id=1 access_type=read_write sync_enabled=no all_squash_enabled=no root_squash_enabled=no
Command executed successully.

System Response


Updated: 2019-07-22

Document ID: EDOC1000106139

Views: 314822

Downloads: 204

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