Problem with Azure Storage Share mount on Container App, Resource temporarily unavailable

Tim Greene 0 Reputation points
2024-08-12T10:25:34.69+00:00

We're seeing exceptions in a java application running on a container app with a storage share volume mount reading from disk: java.nio.file.FileSystemException: /path/...: Resource temporarily unavailable.

It seems as if this is a transient issue in the azure storage share mount on the instance. Is this a known issue? Should be using some other type of volume to mount on the instance?

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,105 questions
Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
399 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sumarigo-MSFT 45,781 Reputation points Microsoft Employee
    2024-08-12T14:50:23.69+00:00

    @Tim Greene Welcome Microsoft Q&A Forum, Thank you for posting your query here!

    Can you please share the screenshot of the error message?

    When exactly are you getting this error?

    The error message you are seeing ("java.nio.file.FileSystemException: /path/...: Resource temporarily unavailable") indicates that the Java application is unable to access the file system due to a temporary issue with the Azure Storage share mount.

    This issue could be caused by a number of factors, such as network connectivity issues, storage account performance issues, or issues with the Azure Storage share mount itself.

    To troubleshoot this issue, you can try the following steps:

    1. Check the status of the Azure Storage share mount by logging into the Azure portal and checking the status of the storage account and share. If there are any issues with the storage account or share, you may need to resolve those issues before the mount can be accessed.
    2. Check the network connectivity between the container app and the Azure Storage share. You can use tools like ping or traceroute to check the network connectivity between the container app and the storage account.
    3. Check the performance of the storage account. If the storage account is experiencing performance issues, this could cause the Azure Storage share mount to become temporarily unavailable.
    4. Consider using a different type of volume to mount on the instance. Azure provides several options for persistent storage, including Azure Disk Storage and Azure Files. You can try using one of these options to see if it resolves the issue.

    Additonal information:
    Tutorial: Create an Azure Files volume mount in Azure Container Apps

    Use storage mounts in Azure Container Apps

    Mount an Azure file share in Azure Container Instances
    Based on your error java.nio.file.NoSuchFileException? which provides some idea on your scenario

    Please let us know if you have any further queries. I’m happy to assist you further.    


    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.