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.

Other related questions:
What's the restriction for V3 series unified storage to mount CIFS shares in Linux/MAC environments?
In Linux/MAC environments, you can run the mount -cifs command to mount CIFS shares. However, soft and hard links are not supported when you access files at a mount point.

Recommended NFS version for NFS mounting on the OceanStor V3 storage

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.

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

Does V3 series unified storage support CIFS sharing and NFS sharing?
V3 series unified storage supports the CIFS sharing and NFS sharing. For details about how to configure CIFS sharing and NFS sharing, see File Access and Protocols Feature Guide.

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