Mounting an NFS File System to ECSs (Windows)
After creating a file system, you need to mount the file system to ECSs so that ECSs can share the file system.
This section uses Windows Server 2012 as an example to describe how to mount an NFS file system. For other versions, perform the steps based on the actual situation.
Prerequisites
- You have created a file system and have obtained the mount point of the file system.
- At least one ECS that belongs to the same VPC as the file system exists.
Limitations and Constraints
You are not advised to mount SFS Turbo file systems to ECSs running Windows because some Windows applications (such as 3DMAX) have compatibility issues.
Procedure
- Log in to the management console using a cloud account.
- Log in to the management console and select a region and a project.
- Under Computing, click Elastic Cloud Server to switch to the ECS console.
- Go to the ECS console and log in to the ECS running Windows Server 2012.
- Install the NFS client.
- Click Server Manager in the lower left corner. The Server Manager window is displayed, as shown in Figure 1.
- Click Add Roles and Features. See Figure 2.
- Click Next as prompted. On the Server Roles page, select Server for NFS, as shown in Figure 3.
- Click Next. In the Features page, select Client for NFS and click Next, as shown in Figure 4. Confirm the settings and then click Install. If you install the NFS client for the first time, after the installation is complete, restart the client and log in to the ECS again as prompted.
- Modify the NFS transfer protocol.
- Run the following command in the Command Prompt of the Windows Server 2012 (X is the drive letter of the free disk). Select the ECS that belongs to the same VPC as the file system to mount the file system.
For SFS Turbo file systems: mount -o nolock,casesensitive=yes mount point ! X:
- Drive letter of the free disk: A disk that is not in use, such as disk E or X.
- The mount point of an SFS Turbo file system is the root directory. Ensure that an English exclamation mark (!) is added to the mount point, for example, 127.0.0.1:/!.
- casesensitive=yes indicates that file names are case sensitive during file search. If this parameter is not added, the performance of creating files in a large directory will deteriorate.
You can move the cursor to the mount point and click next to the mount point to copy the mount point. If the information shown in Figure 9 is displayed, the mounting is successful.
Figure 8 Mount point
- After the file system is mounted successfully, you can view the mounted file system on the This PC page, as shown in Figure 10.
If the mounting fails or times out, rectify the fault by referring to Troubleshooting.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot