Mounting an NFS shared directory of OceanStor 9000 V100R001C01 to a Linux client and accessing the directory

AN NFS shared directory of OceanStor 9000 V100R001C01 can be mounted to a Linux client and accessed based on the following procedures:
1. Log in to the Linux client as user root.
2. (Optional) Run the showmount -e host command to view the created NFS share on OceanStor 9000.
In the command, host indicates the dynamic domain name or zone domain name specified in the InfoEqualizer CONFIGURE or a dynamic/static front-end service IP address of any storage node.
3. (Optional) Run the mkdir /local_path command to create a local directory to which the shared directory will be mounted.
4. Mount the shared directory.
When NFSv3 is used for mounting, run the mount -t nfs host:/share_path /local_path command. When NFSv4 is used for mounting, run the mount -t nfs4 host:/share_path /local_path command.
To ensure quick service switchovers in node fault scenarios, you are advised to set NFSv3 timeo to 10 by adding -o timeo=10. Do not add NFSv4 timeo. Use the default value 600.
5. (Optional) Run the mount command to view the existing directories that have been mounted.
6. Change the user account as required and run the cd /local_path command to access the shared directory.
By default, the permissions of user root are restricted. Therefore, if you do not switch to another user, the system may display a message in subsequent operations, indicating that you do not have sufficient permissions.

Scroll to top