This topic describes how to troubleshoot issues about soft mounts of a Network File System (NFS) file system on a Windows Elastic Compute Service (ECS) instance.
Symptom
An NFS file system is soft mounted on a Windows ECS instance by default. However,
in some scenarios, soft mounts result in data inconsistency or unexpected application
exits. However, soft mounts may result in data inconsistency or unexpected application
exits.
- Data inconsistency: An application sends an ECS instance a request to write data to a soft-mounted file system. If the application does not receive a response from the instance before the request times out, an error is returned even if data is written to the file system. This causes data inconsistency. Data inconsistency may occur when the application does not receive a response from the server, but the ECS instance may have responded to the request.
- Unexpected application exits: An application sends an ECS instance a request to access a soft-mounted file system. If the application does not receive a response from the instance before the request times out, an error is returned. In this case, if the application is written in a specific programming language, an exception is thrown. If the exception is not handled, the application exits. An exception is thrown when the application is written in a specific programming language. In this case, an unexpected exit occurs.
Solutions
To avoid these issues, hard mount the NFS file system on the Windows ECS instance.