Azure 文件 - 系统错误 53

Azure Files - System error 53

我正在尝试使用 Azure 文件,但出现以下系统错误 53。有什么想法吗?

如果您尝试通过 SMB 3.0 从 Azure 数据中心外部装载 Azure 文件共享,则出现此错误的可能原因有两个。

  1. 您的客户端 OS 需要支持 SMB 3.0,例如使用 Windows 8、Windows 10、Windows Server 2012。

  2. 端口 445(TCP 出站)需要由您的 ISP 或防火墙打开。如果您从 Azure 数据中心外部安装,则 SMB 协议依赖于此端口,我确实注意到某些 ISP 阻止了此端口(例如 Comcast)。

您可以参考以下链接自行对端口进行自检

http://poshcode.org/2514

http://powershell.com/cs/media/p/4063.aspx

这个错误还有另一种解释。

如果您尝试从 您的计算机 连接到该网络共享,而不是从 Azure VM(或角色)连接。

网络共享仅对 Azure VM 可见。甚至可能还有一个限制 - 共享和 VM 必须位于同一 Azure 区域。

来源:

根据我的经验,在我的笔记本电脑上遇到了这个问题(并在 Azure VM 中使用相同的 cmd 看到它有效)。

另外,这个: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

HKLM\SYSTEM\CurrentControlSet\Control\Lsa > LmCompatibilityLevel

有关详细信息,请参阅 TechNet 上的 LmCompatibilityLevel 主题。

this MS docs

得到这个解决方案