Modifying an NFS Share Client

This operation enables you to modify properties of an NFS share client.

Prerequisites

You have created an NFS share client.

Procedure

  1. Choose Services > File Service > Share > NFS Share.
  2. Click the path of the desired NFS share. The page displaying the share's details is displayed on the right.
  3. In the Permission area, click More on the right of the desired client and select Modify.

    The Modify Client page is displayed.

  4. Change the permission level of the client. Possible options are as follows:

    • 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.

  5. Modify advanced client parameters. Click Advanced.

    Table 1 describes related parameters.
    Table 1 Advanced client parameters

    Parameter

    Description

    Write Mode

    Indicates how the system writes data onto disks. The modes include:

    • Sync: writes data onto disks instantly.
    • Async: responds to the client's requests first and then writes data onto disks.
      NOTE:
      • If the value is set to Async, data may be lost when the client and storage system are faulty at the same time.
      • This parameter is displayed only when Permission Level 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.

  6. Click OK.