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).
change service nfs

change service nfs


The change service nfs command is used to modify NFS sharing configurations.


change service nfs { [ support_v3_enabled=? ] [ support_v4_enabled=? v4_domain_name=? ] } *





support_v3_enabled=? Whether NFSv3 is enabled.

Possible values are on and off, where:

  • on: The NFSv3 protocol is enabled.
  • off: TheNFSv3 protocol is disabled.
support_v4_enabled=? Whether NFSv4 is enabled.

Possible values are on and off, where:

  • on: The NFSv4 protocol is enabled.
  • off: TheNFSv4 protocol is disabled.
v4_domain_name=? NFSv4 domain name.

The value consists of 1 to 64 characters.



Usage Guidelines

  • Parameter v4_domain_name can be configured only when the value of parameter support_v4_enabled is on.
  • OceanStor 2200 V3 storage system do not support this command.


  • Querying NFS sharing configurations before the modification.

    admin:/>show service nfs
    Support V3 Enabled Support V4 Enabled V4 Domain Name 
    ------------------ ------------------ -------------- 
     Off On localdomain
  • Modifying NFS sharing configurations.

    admin:/>change service nfs support_v3_enabled=on support_v4_enabled=on v4_domain_name=localdomain
    Command executed successfully.
  • Querying NFS sharing configurations after the modification.

    admin:/>show service nfs
    Support V3 Enabled Support V4 Enabled V4 Domain Name
    ------------------ ------------------ -------------- 
    On On localdomain
  • Closing the NFS sharing service.

    admin:/>change service nfs support_v3_enabled=off support_v4_enabled=off
    WARNING: You are about to disable the NFSv3/NFSv4 service. This operation causes the NFSv3/NFSv4 sharing service provided by the storage device unavailable. 
    Suggestion: Before performing this operation, ensure that the NFSv3/NFSv4 sharing service is no longer needed.
    Have you read warning message carefully?(y/n)y
    Are you sure you really want to perform the operation?(y/n)y
    Command executed successfully.

System Response


Updated: 2019-07-22

Document ID: EDOC1000106139

Views: 363127

Downloads: 235

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next