问题描述
基本上我在Azure中创建了一个文件存储帐户,其设置允许任何网络安装此存储。
Basically I created a file storage account in Azure, with the settings allowing any network to mount this storage.
当我去我的VM(在Azure中)并运行以下命令(编辑)
When I go to my VM (in Azure as well) and I run the following command (redacted)
sudo mount -t cifs //redacted.file.core.windows.net/redacted-media /mnt/redacted-media/ -o vers=3.0,username=redacted,password=redacted,dir_mode=0777,file_mode=0777,sec=ntlmssp
我收到错误 Unable
。我已经在VM的网络设置中打开了端口445和139,但仍然没有运气。
找到合适的地址
I get the error Unable to find suitable address
. I already opened ports 445 and 139 in the network settings for the VM but still no luck.
日志错误如下:
The logs errors are the following:
2月
11 13:26:25编译内核:防火墙:* TCP_OUT被阻止* IN = OUT = eth0 SRC = xxxx DST = 40.116.232.108 LEN = 60 TOS = 0x00 PREC = 0x00 TTL = 64 ID = 4094 DF PROTO = TCP SPT = 57282 DPT = 445 WINDOW = 29200 RES = 0x00 SYN URGP = 0 2月11日13:26:27编辑内核:防火墙:* TCP_OUT
阻塞* IN = OUT = eth0 SRC = xxxx DST = 40.116.232.108 LEN = 60 TOS = 0x00 PREC = 0x00 TTL = 64 ID = 4095 DF PROTO = TCP SPT = 57282 DPT = 445 WINDOW = 29200 RES = 0x00 SYN URGP = 0 Feb 11 13:26 :27编译内核:防火墙:* TCP_OUT被阻止* IN = OUT = eth0 SRC = xxxx DST = 40.116.232.108
LEN = 60 TOS = 0x00 PREC = 0x00 TTL = 64 ID = 46253 DF PROTO = TCP SPT = 50176 DPT = 139 WINDOW = 29200 RES = 0x00 SYN URGP = 0
推荐答案
感谢您在此发帖!
您使用哪个版本的Linux发行版来安装azure文件共享?
Which version of Linux distribution you are using to mount azure file share?
你查看文章 here ,用于解决Linux
发行版上的Azure文件问题?
Did you check the article here for troubleshooting Azure files on Linux distributions?
为了澄清,我还可以看到你在SO中发布了类似的查询。你有没有尝试过SO中给出的建议?如果没有,请告知我们您是否需要有关此查询的任何进一步帮助。
Just for clarification, I can also see that you have posted the similar query in SO. Did you tried the suggestions given in SO? If not, let us know if you need any further assistance on this query.
这篇关于尝试安装Azure文件存储时“无法找到合适的地址”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!