问题
I am trying to use Azure Files and I am getting the following System error 53. Any ideas?
回答1:
There are two possible reasons for getting this error if you are trying to mount your Azure file shares from outside of Azure Datacenter via SMB 3.0.
Your client OS needs support SMB 3.0, for example use Windows 8, Windows 10, Windows Server 2012.
The port 445 (TCP Outbound) needs to be opened by your ISP or firewall. The SMB protocol is dependent on this port if you mount from outside of Azure Datacenter, and I do notice some ISP blocked this port (e.g. Comcast).
You can refer to the links below to do a self-check on the port by yourself.
http://poshcode.org/2514
http://powershell.com/cs/media/p/4063.aspx
回答2:
There is another explanation for this error.
If you try to connect to that network share from your machine as opposed to connecting from an Azure VM (or role).
The network share is only visible to Azure VMs. There may even be one more restriction - the share and the VM must live in the same Azure region.
Sources:
My experience, hitting this problem on my laptop (and seeing it work, using the same cmd, in an Azure VM).
Also, this: https://blogs.msdn.microsoft.com/windowsazurestorage/2014/05/12/introducing-microsoft-azure-file-service/ :
Once your share is created, it can be accessed via the SMB or REST protocol from any Azure node (VM/Worker/Web role) hosted in the same region as the storage account hosting the share.
回答3:
This is the only thing that worked for me:
Change this registry key to a value of 3
HKLM\SYSTEM\CurrentControlSet\Control\Lsa > LmCompatibilityLevel
For more information, see the LmCompatibilityLevel topic on TechNet.
Got this solution from this MS docs
来源:https://stackoverflow.com/questions/32850682/azure-files-system-error-53