Modifying an NFS Share Client
This section describes how to modify the properties of an NFS share client.
Prerequisites
An NFS share client has been created.
Procedure
- Log in to DeviceManager.
- Choose
Provisioning >
Share > NFS (Linux/UNIX/MAC).
- Select the NFS share whose client properties you want to modify.
- In the Client Information area, select a client whose properties you want to modify, and click Properties.
The Properties of Client dialog box is displayed.
- Modify the client properties.Table 4-18 describes the related parameters.Table 4-18 NFS share client properties
Parameter
Description
Value
Permission
Permission for a 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
Write mode of the NFS share client. The modes include:
- Synchronous: The data written to a share is written into disks immediately.
- Asynchronous: The data written to a share is written into the cache first, then into disks.
NOTE:If a client mounts an NFS share in asynchronous mode, data may be lost in the event that the client and storage system are faulty at the same time.
[Default value]
Synchronous
Permission Constraint
Determines whether to retain the user identity (UID) and group ID (GID) of a shared directory.
- all_squash: The UID and GID of a shared directory are mapped to user nobody and 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
Controls 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
Source Port Verification
Determines whether to enable source port verification.
- secure: Clients can use ports 1 to 1023 to access NFS shares.
- insecure: Clients can use any port to access NFS shares.
[Default value]
insecure
Anonymous User ID
Sets the UID and GID of the user accessing the shared directory who is mapped as an anonymous user.
NOTE:This parameter is available in V500R007C20 and later versions.
[Value range]
0 to 4294967294
[Default value]
65534
- Click OK.
The Execution Result dialog box is displayed, indicating that the operation succeeded.
- Click Close.