AKS Blob mounting failed, reason given by sercer: No such file or directory

Nikos Fotiou 0 Reputation points


I am troubleshooting an issue with NFS pvc in AKS using Azure Blob storage.

I have opened all network connections from the AKS to the blob storage but it still has trouble mounting the volume.

I can see the pv in the containers of the storage account as mentioned over here: mounting ektaccount.blob.core.windows.net:/ektaccount/pvc-465ff843-67b3-472f-8986-9b822cc8a172 failed, reason given by server: No such file or directory

Without any success.

Any next troubleshooting steps?

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
1,705 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,349 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ammar-Abdelqader01 296 Reputation points Microsoft Employee

    Hello @Nikos Fotiou

    Thank you for your question, I understand that you have an issue with NFS PVC in AKS using Blob storage.

    This error message indicates that the server cannot find the specified file or directory. You can try the following steps to resolve the issue:

    1. Check if the file or directory exists in the specified location.
    2. Check if the file or directory has the correct permissions.
    3. Check if the file or directory is accessible from the server.
    4. Check if the NFS server is running and accessible.
    5. Check if the NFS share is properly configured and mounted.
    6. Check if the firewall is blocking the NFS traffic.
    7. Check if the network connectivity is stable and reliable.

    If for some reason, the mount operation on Pods is failing, you can check at the Node level with the following commands

    mkdir /Path

    mount -o sec=sys,vers=3,nolock,proto=tcp azstorageblobtest.blob.core.windows.net:/BlobStorageName/Name /Path

    for more information please check the sample from this document and try the same: https://learn.microsoft.com/en-us/azure/aks/azure-csi-blob-storage-provision?tabs=mount-nfs%2Csecret#storage-class-using-nfs-protocol

    Also please check the full example: Mount Azure Blob containers with NFS in AKS Cluster

    if it worked you have to check the path mounted by PVC to the pod.

    if this has been helpful, please take a moment to accept answers as this helps increase visibility of this question for other members of the Microsoft Q&A community. Thank you for helping to improve Microsoft Q&A!

    User's image

    0 comments No comments