Mounting a File System Fails
Symptom
When a file system is mounted to servers using the mount command, message access denied is displayed on the server.
Possible Causes
- Cause 1: The file system has been deleted.
- Cause 2: The server and the mounted file system are not in the same VPC.
- Cause 3: The mount point in the mount command is incorrect.
- Cause 4: The IP address used for accessing SFS is a virtual IP address.
- Cause 5: The DNS used for accessing the file system is incorrect.
- Cause 6: A CIFS file system is mounted to Linux servers.
- Cause 7: The subdirectory to be mounted does not exist.
Fault Diagnosis
Take troubleshooting measures based on possible causes.
Solution
- Cause 1: The file system has been deleted.
- Cause 2: The server and the mounted file system are not in the same VPC.
- Cause 3: The mount point in the mount command is incorrect.
- Log in to the management console and check whether the mount point is the same as the one in the mount command.
- If the mount point in the mount command is incorrectly entered, correct it and run the command again.
- Cause 4: The IP address used for accessing SFS is a virtual IP address.
Log in to the server and run the ping command and use the server IP address to access SFS. Check whether the service is reachable. See Figure 1.
- If yes, the network problem has been resolved. Check other possible causes.
- If no, the server virtual IP address is unable to access SFS due to the network problem. Use the private IP address and run the ping command to access SFS and check whether the service is reachable.
- Cause 5: The DNS used for accessing the file system is incorrect.
Run the following command to check whether the DNS is correct:
nslookup File system domain name
Check whether the resolved IP address is in segment 100.
- If yes, the DNS configuration is correct. Check other possible causes.
- If no, the DNS configuration is incorrect. Reconfigure DNS by referring to Configuring DNS.
- Cause 6: A CIFS file system is mounted to Linux servers.
CIFS file systems cannot be mounted to Linux ECSs. Mount the CIFS file system to Windows servers.
- Cause 7: The subdirectory to be mounted does not exist.
Mount the file system to the root directory. Then create a subdirectory, unmount the mounted file system, and mount the file system to the created subdirectory.
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