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

File Access and Protocols Feature Guide 13

OceanStor 18500 V3 and 18800 V3 Mission Critical Storage System V300R003

This document describes the implementation principles and application scenarios of the NAS feature. Also, it explains how to configure and manage NAS.
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).
Adding an NFS Share Client

Adding an NFS Share Client

An NFS share client enables client users to access shared file systems using a network.

Prerequisites

  • Associated configurations have been completed, and required data is ready.
  • Create an available host name on the DNS in advance if you need to add a client of Host type.
  • Create an available network group name on the LDAP or NIS server in advance if you need to add a client of Network Group type.

Procedure

  1. Log in to DeviceManager.
  2. Choose Provisioning > Share > NFS (Linux/UNIX/MAC).
  3. Select the NFS share for which you want to add a client.
  4. In the Client List area, click Add.

    The Add Client dialog box is displayed.

  5. Configure the client properties. Table 2-13 describes related parameters.



    Table 2-13  NFS share client properties

    Parameter

    Description

    Value

    Type

    Client type of the NFS share. Types include:
    • Host

      Applicable to the client in non-domain environment.

    • Network group

      Applicable to client in LDAP or NIS domain.

    NOTE:

    When a client is included in multiple share permissions, the priority of share authentication from high to low is in the following sequence: host name > IP address > IP network > wildcard > network group > * (anonymous).

    [Default value]

    Host

    Name or IP Address

    Name or service IP address of the NFS share client.
    NOTE:

    This parameter is available only when the Type is Host.

    [Value range]

    The name:
    • Contains 1 to 255 characters, including letters, digits, hyphens (-), periods (.), and underscores (_).
    • The value can begin with only a digit or letter and cannot end with a hyphen (-) or an underscore (_).
    • The value cannot contain consecutive periods (.), pure digits, or a period before or after an underscore or hyphen, for example, '_.', '._', '.-', or '-.'.
    The IP address:
    • You can enter the IP address of a client or the IP address segment of clients, or use asterisk (*) to represent IP addresses of all clients.
    • You can enter IPv4, IPv6 or their mixed IP address.
    • The mask of IPv4 ranges from 1 to 32. The mask of IPv6 ranges from 1 to 128.

    [Example]

    192.168.0.10

    192.168.0.10;192.168.1.0/24

    NOTE:

    You can enter multiple names or IP addresses of clients, separated by semicolon.

    Network Group Name

    Network group name in LDAP or NIS domain.
    NOTE:

    This parameter is available only when the Type is Network group.

    [Value range]

    The name:
    • Contains 1 to 254 characters.
    • Can contain only letters, digits, underscores (_), periods (.), and hyphens (-).

    [Example]

    a123456

    Permission

    The permission for client to access the NFS share. The permissions include:
    • Read-only

      Only reading the files in the share is allowed.

    • Read-write

      Any operation is allowed.

    [Default value]

    Read-only

    Write Mode (Optional)

    Write mode of the NFS share client. The modes include:
    • Synchronous: the data written to the share is written into the disk immediately.
    • Asynchronous: the data written to the share is written into the cache first, then into the disk.
    NOTE:

    Data may be lost if a client mounts an NFS share in asynchronous mode, and the client and storage system are faulty at the same time.

    [Default value]

    Synchronous

    Permission Constraint (Optional)

    Determine whether to retain the user identity (UID) and group ID (GID) of a shared directory.
    • all_squash: The user ID (UID) and group ID (GID) of a shared directory are mapped to user nobody, which are applicable to public directories.
    • no_all_squash: The UID and GID of a shared directory are reserved.

    [Default value]

    no_all_squash

    root Permission Constraint (Optional)

    Control the root permission of a client.
    • root_squash: The client cannot access the storage system as user root. If a client accesses the storage system as user root, the client will be mapped as user nobody.
    • no_root_squash: A client can access the storage system as user root and user root can fully manage and access the root directory.

    [Default value]

    root_squash

  6. Confirm the addition of the NFS Share Client.
    1. Click OK.

      The Execution Result dialog box is displayed, indicating that the operation succeeded.

    2. Click Close.
Translation
Download
Updated: 2019-08-14

Document ID: EDOC1000084098

Views: 32816

Downloads: 72

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