Writing to a File System Fails
Symptom
Data fails to be written to the file system mounted to ECSs running the same type of OS.
Possible Causes
The ECS security group configuration is incorrect. The port used to communicate with the file system is not enabled.
Fault Diagnosis
Check whether the port of the ECS is enabled and correctly configure the port on the security group console.
Solution
- Log in to the ECS console.
- Log in to the management console.
- Click in the upper left corner and select your desired region and project.
- Choose Compute > Elastic Cloud Server.
- On the page displayed, select the target ECS to go to the ECS details page.
- Click the Security Groups tab and select the target security group. Click Manage Rule to go to the security group console.
- On the displayed page, click the Inbound Rules tab and click Add Rule. The Add Inbound Rule page is displayed, as shown in Figure 1. Add rules as follows:
After an SFS Turbo file system is created, the system automatically enables the security group ports required by the NFS protocol. This ensures that the SFS Turbo file system can be successfully mounted to your servers. The inbound ports required by the NFS protocol are ports 111, 2049, 2051, 2052, and 20048. If you need to change the enabled ports, go to the VPC console, choose Access Control > Security Groups, locate the target security group, and change the ports.
You are advised to use an independent security group for an SFS Turbo file system to isolate it from service nodes.
You need to add inbound and outbound rules for the security group of an SFS Capacity-Oriented file system. For details, see Adding a Security Group Rule. For an SFS Capacity-Oriented file system, the inbound ports required by the NFS protocol are ports 111, 2049, 2050, 2051, and 2052. The inbound port required by the DNS server is port 53 and those required by the CIFS protocol are ports 445 and 135.
You need to add inbound and outbound rules for the security group of a general purpose file system. For details, see Adding a Security Group Rule. The inbound ports required by NFS are ports 111, 2049, and 2050.
- Click OK. Access the file system again for verification.
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