Recommended NFS version for NFS mounting on the OceanStor V3 storage

15

NFSv3.

Other related questions:
After V3 series unified storage mounts an NFS share in Linux, can new files be created in the mount directory?
When you mount an NFS share on a client, do not first run the cd command in the CLI to enter the mount directory and then mount the NFS to the directory. Because in the case, the system will recognize the directory as the local directory and the created file will reside on the local directory. You need to mount the NFS file system to the directory first and then enter the directory.

How Can I Enable the NFS Client to Automatically Mount the NFS Share?
1.Log in to the client as the root user. 2.Run the vi /etc/fstab command. 3.Press i to enter the editing mode. 4.Move the cursor to the end of the file and add ipaddress: filesystem mount_path nfs timeo=10 0 0. ipaddress indicates a virtual IP address. filesystem indicates a shared file system. mount_path indicates a created mount directory. For example, if the ipaddress is 192.168.0.10, the filesystem is /vx/nfs_test, and the mount_path is /nfs_mount, the result is as follows after the modification: 5.Press Esc to exit the editing mode. 6.Type :wq and press Enter.

Recommended OceanStor V3 versions for delivery
For recommended versions, visit http://support.huawei.com/enterprise/en/bulletins-service/.

Mounting an NFS shared directory of OceanStor 9000 V100R001C01 to a Mac client and accessing the directory
An NFS shared directory of OceanStor 9000 V100R001C01 can be mounted to a Mac client and accessed based on the following procedures: 1. Log in to the Mac OS-based client as an administrator. 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. It is recommended that the local directory reside in /Volumes. 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.

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.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top