-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
weed mount 不支持samba共享吗? #936
Comments
have not tested. Need to see some logs. |
日志:
|
can not tell anything from one line of log. |
如何debug? |
日志里只有这些内容 |
Please show the steps to reproduce it with details, as what user, samba commands, etc. |
samba配置: [wwwroot] 然后su - www,切换用户后使用weed mount挂载 |
samba seems having some cache. Need to mount the filer first, then restart samba. |
不管用 |
不应该啊,我两台服务器都试过了,重启samba服务端,删除windows的samba缓存(net use /del)都不能访问。 |
I used smbclient to test and got NT_STATUS_ACCESS_DENIED problem. Here is my smb.conf that worked. the "force user" and "force group" helped.
https://serverfault.com/questions/900440/samba-configuration-statusnt-status-access-denied Below is the logs that it did not work at first. But after changing the smb.conf, it worked.
|
Linux系统确实可以,Windows不行,望修复。 |
多次刷新之后 Linux 也不再能列出目录 |
我发现这个问题应该和seaweedfs没有关系,应该是和FUSE有关。 |
added one commit ed0b2d6...82e06a7 It may help according to https://superuser.com/questions/366412/error-running-samba-share-of-fuse-mount |
没有效果,还是同样的错误。 |
samba seems too finicky. Please try to use WebDav to share the FUSE mounted folder. |
added "weed webdav" command in 9d3c945 |
经过测试(将webdav挂载到windows server 2016上的网络位置),在IO频繁的场景,会出现无法访问的情况,具体表现为:可以创建文件,但是无法写入文件内容,所有文件均为0KB,并且IO不会报错。 |
webdav has many subtle variations for different implementations. Need logs or something reproducible. |
非常抱歉这么久才再次回复 |
there are already "weed s3" command for S3 APIs. You can use your NFS or SAMBA to access it. |
我并不使用S3,用s3加入nfs和samba支持只是想说明webdav可能在windows下不是那么完美,许多windows程序无法直接访问webdav挂载点的文件。 |
您好 weed s3 该如何开启NFS呢 cmd mount -o nolock -o mtype=hard 192.168.35.110:/test T: 报错(找不到网络路径。)已将8333改为80端口了 浏览器访问 192.168.35.110也能看到页面 |
正常挂载,本地访问正常,使用samba共享该文件夹后windows可以访问一级共享目录,二级目录提示“位置不可用”。
如:挂载点为/home/wwwroot,samba可以访问/home/wwwroot且可以列出目录及文件,但不可以访问/home/wwwroot/subdir,提示“位置不可用”。
weed mount不支持samba共享吗?
The text was updated successfully, but these errors were encountered: