Forum Discussion

Miguel Lobato's avatar
Miguel Lobato
Iron Contributor
May 17, 2017

Azure Cloud Shell error

I am getting this error messagem when connecting to the bash:

 

"Warning: Failed to mount the Azure file share. Your cloud drive won't be available.                                                                                                  

Your Cloud Shell session will be ephemeral so no files or system changes will persist beyond your current session."

 

Anyone with the same problem? 

  • Sorry you hit this bug Miguel! We're tracking this issue and should have a fix for this very soon! By chance did you delete the storage resource that was created for you when first launching Cloud Shell?

     

    Sander is correct in troubleshooting, could you:

    1. Run "clouddrive unmount"

    2. Restart Cloud Shell via restart icon or exit and relaunch

    3. You should be prompted with the storage creation dialog again

     

    Let me know if this works or not for you!

  • Harshul's avatar
    Harshul
    Copper Contributor
    Hi Miguel,
    I am having error while running commands on Azure Cloud Shell from Microsoft Learn website.
    I deleted and recreated resource group but the same error since 1 week. can you please help? Thnx in advance.
    https://docs.microsoft.com/en-us/learn/modules/secure-and-isolate-with-nsg-and-service-endpoints/3-exercise-network-security-groups
    Command:
    rg=<resource group name>
    az group create --name $rg --location <location>

    Error:
    rg=<resource: The term 'rg=<resource' is not recognized as a name of a cmdlet, function, script file, or executable program.
    Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

  • The Azure files must reside in the same region as the Cloud Shell machine that you're mounting them to
  • Sorry you hit this bug Miguel! We're tracking this issue and should have a fix for this very soon! By chance did you delete the storage resource that was created for you when first launching Cloud Shell?

     

    Sander is correct in troubleshooting, could you:

    1. Run "clouddrive unmount"

    2. Restart Cloud Shell via restart icon or exit and relaunch

    3. You should be prompted with the storage creation dialog again

     

    Let me know if this works or not for you!

    • tmiller673gmailcom's avatar
      tmiller673gmailcom
      Copper Contributor

      Justin Luk 

       

      Thank you thank you thank you!

       

      Deleted clouddrive before dismount. Nothing worked because of missing keys.

       

      Except your fix saved the day!

       

      Thanks for taking the time to help.

    • amankumarchagti's avatar
      amankumarchagti
      Copper Contributor

      I wasn't able to Resolve the error Warning: Failed to mount the Azure file share. Your cloud drive won't be available. even though I run the clouddrive unmount command on CLI. Please provide some support.

    • Seems the storage is already deleted but the cloud drive is still connected.

       

      Try in the shell: "clouddrive unmount" and then refresh.

       

      See my blog for more details.

      • jer2239's avatar
        jer2239
        Copper Contributor

        Sander van de Velde 

        I also get this error:

        Warning: Failed to mount the Azure file share. Your cloud drive won't be available.

         

        but the clouddrive IS actually mapped and i can access the files in it.

         

        How can i get rid of the error msg?

Resources