Modifying an NFS Share Client

This section describes how to modify properties of an NFS share client.

Prerequisites

You have created an NFS share client.

Procedure

  1. Choose Resources > Resources > Share > NFS Share.
  2. Select the desired account from the Account drop-down list in the upper left corner.
  3. Click the path of the desired NFS share. The page displaying the share's details is displayed on the right.
  4. In the Permission area, click More on the right of the desired client and select Modify.

    The Modify Client page is displayed.

  5. Set client properties.

    Table 1 describes related parameters.

    Table 1 Client parameters

    Parameter

    Description

    UNIX Permission Level

    Indicates the permission level for a UNIX client to access the NFS share. Includes:

    • Read-only: The client can only read files in the NFS share.
    • Read/Write: The client can read and write files in the NFS share.
    • None: No operation is allowed on the NFS share.

    Kerberos5 Permission

    Indicates the permission level for the Kerberos5 client to access the NFS share. Includes:

    • Read-only: The client can only read files in the NFS share.
    • Read/Write: The client can read and write files in the NFS share.
    • None: No operation is allowed on the NFS share.

    This parameter applies only to the scenario where the NFS Kerberos service is configured.

    Kerberos5i Permission

    Indicates the permission level for the Kerberos5i client to access the NFS share. Includes:

    • Read-only: The client can only read files in the NFS share.
    • Read/Write: The client can read and write files in the NFS share.
    • None: No operation is allowed on the NFS share.

    This parameter applies only to the scenario where the NFS Kerberos service is configured.

    Kerberos5p Permission

    Indicates the permission level for the Kerberos5p client to access the NFS share. Includes:

    • Read-only: The client can only read files in the NFS share.
    • Read/Write: The client can read and write files in the NFS share.
    • None: No operation is allowed on the NFS share.

    This parameter applies only to the scenario where the NFS Kerberos service is configured.

  6. Modify advanced client parameters. Click Advanced.

    Table 2 describes related parameters.
    Table 2 Advanced client parameters

    Parameter

    Description

    Write Mode

    Indicates how the system writes data onto disks. The modes include:
    • Synchronous: The system writes data onto disks instantly.
    • Asynchronous: The system writes data to the cache first. The asynchronous write mode delivers higher write performance. However, if the client and a mount node fail at the same time, data may be lost.
    NOTE:

    This parameter is displayed only when at least one of UNIX Permission Level, Kerberos5 Permission, Kerberos5i Permission, and Kerberos5p Permission is set to Read/Write.

    Permission Constraint

    Indicates whether to retain the user ID (UID) and group ID (GID) of a shared directory.

    • all_squash: The UID and GID of a shared directory are mapped to user nobody, which is applicable to public directories.
    • no_all_squash: retains the UID and GID of a shared directory.

    root Permission Constraint

    Controls the root permission of the client.

    • root_squash: does not allow the client to access the share as user root. Otherwise, the client will be mapped as an anonymous user.
    • no_root_squash: allows the client to access the share as user root that has full control and access permissions for shared directories.
      NOTE:

      If a VM needs to be created in the NFS share, select no_root_squash. Otherwise, the VM may run abnormally.

    Source Port Verification Constraint

    Indicates whether to enable source port verification.

    • secure: allows the client to access the NFS share using ports 1 to 1023.
    • insecure: allows the client to access the NFS share using any port.

  7. Click OK.