Reputation: 51
Whenever I start the Azure Cloud Shell, I get this error:
Failed to mount the azure file share. Your clouddrive won't be avaible Your Cloud Shell session will be ephemeral so no files or system changes will persist beyond your current session.
Can someone help me or explain why this is happening?
Upvotes: 4
Views: 5825
Reputation: 11
For me, just resetting the user settings solved this problem. Screenshort from CLI
Upvotes: 0
Reputation: 2809
In my case, closing and reopening the Azure CLI worked fine.
Upvotes: -1
Reputation: 1353
I had similar case, and the solution was rather trivial.
Cloud shell couldn't access my file share due to misconfigured security settings. I did tweak the new Azure Storage firewall settings without realizing the impact on Cloud Shell.
Upvotes: -1
Reputation: 1668
In my situation I was prompted to create the clouddrive after launching the cloud shell for the first time. The resource group and storage account were created but the file share was not. I manually created it and restarted cloud shell with no issues.
Upvotes: 0
Reputation: 13954
Can someone help me or explain why this is happening?
By chance did you delete the storage resource that was created for you when first launching Cloud Shell?
Please follow those steps:
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.
Here a similar case about you, please refer to it.
Also we can delete this cloud shell (in resource group), then re-create it.
Upvotes: 7