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

"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

Function

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

Format

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

Parameters

Parameter

Description

Value

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.

Level

Administrator

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.

Example

  • 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

None

Translation
Download
Updated: 2019-04-22

Document ID: EDOC1000106139

Views: 264824

Downloads: 178

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