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_config

change service nfs_config

Function

The change service nfs_config command is used to modify basic NFS(Network File System) configurations.

Format

change service nfs_config { communication_thread_number=? | work_thread_number=? | max_block_size=? | { permit_listen_ip=? | deny_listen_ip=? } | { permit_client=? | deny_client=? } } *

Parameters

Parameter

Description

Value

communication_thread_number=? Indicates the number of NFS-based communication threads (global).

The value ranges from 1 to 128.

work_thread_number=? Indicates the number of NFS-based working threads (global).

The value ranges from 1 to 128.

max_block_size=? Indicates the MTU of NFS (global).

The value ranges from 1024 to 1,048,576.

permit_listen_ip=? Indicates the whitelist of NFS listening IP addresses (tenant).

A maximum of 31 IP addresses can be entered. Separate IP addresses with a comma(,). Enter an asterisk (*) to add all IP addresses to the whitelist.

deny_listen_ip=? Indicates the blacklist of NFS listening IP addresses (tenant).

A maximum of 31 IP addresses can be entered. Separate IP addresses with a comma(,). Enter an asterisk (*) to add all IP addresses to the blacklist.

permit_client=? Indicates the whitelist of NFS clients (tenant).

Enter an asterisk to add all clients to the whitelist.

deny_client=? Indicates the blacklist of NFS clients (tenant).

A maximum of 31 IP addresses can be entered. Separate IP addresses with a comma(,).

Level

Administrator

Usage Guidelines

This command does not support OceanStor 2200 V3 storage system.

Example

  • To view common configurations related to NFS before configuration modification, run the following command.

    admin:/>show service nfs_config
    Communication Thread Number : 100
    Work Thread Number : 100
    Max Block Size : 10240
    Listen IP : deny 192.168.1.1
    Client Black List : deny 192.168.1.1
  • To change the number of NFS-based communication threads, run the following command:

    admin:/>change service nfs_config communication_thread_number=100
    Command executed successfully.
  • To change the maximum number of working threads allowed in sharing, run the following command:

    admin:/>change service nfs_config work_thread_number=100
    Command executed successfully.
  • To change the maximum transmission unit (MTU), run the following command.

    admin:/>change service nfs_config max_block_size=10240
    Command executed successfully.
  • To modify the blacklist of listening IP addresses, run the following command:

    admin:/>change service nfs_config permit_listen_ip=*
    Command executed successfully.
  • To modify the blacklist of client IP addresses, run the following command:

    admin:/>change service nfs_config permit_client=*
    Command executed successfully.
  • To view common configurations related to NFS after configuration modification, run the following command.

    admin:/>show service nfs_config
    Communication Thread Number : 100
    Work Thread Number : 100
    Max Block Size : 10240
    Listen IP : permit *
    Client Black List : permit *

System Response

None

Translation
Download
Updated: 2019-04-22

Document ID: EDOC1000106139

Views: 261824

Downloads: 178

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