Azure Files - System error 53

我怕爱的太早我们不能终老 提交于 2019-11-29 09:36:08

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.

  1. Your client OS needs support SMB 3.0, for example use Windows 8, Windows 10, Windows Server 2012.

  2. 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

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.

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!