【问题标题】:Glusterfs denied mountGlusterfs 拒绝挂载
【发布时间】:2013-12-02 22:57:45
【问题描述】:

我正在使用 GlusterFS 3.3.2。两台服务器,每台一块。卷是“ARCHIVE80”

我可以在 Server2 上挂载卷;如果我触摸一个新文件,它会出现在 Server1 的砖块内。

但是,如果我尝试在 Server1 上安装卷,则会出现错误:

Mount failed. Please check the log file for more details.

日志给出:

[2013-11-11 03:33:59.796431] I [rpc-clnt.c:1654:rpc_clnt_reconfig] 0-ARCHIVE80-client-0: changing port to 24011 (from 0)
[2013-11-11 03:33:59.796810] I [rpc-clnt.c:1654:rpc_clnt_reconfig] 0-ARCHIVE80-client-1: changing port to 24009 (from 0)
[2013-11-11 03:34:03.794182] I [client-handshake.c:1614:select_server_supported_programs] 0-ARCHIVE80-client-0: Using Program GlusterFS 3.3.2, Num (1298437), Version (330)
[2013-11-11 03:34:03.794387] W [client-handshake.c:1320:client_setvolume_cbk] 0-ARCHIVE80-client-0: failed to set the volume (Permission denied)
[2013-11-11 03:34:03.794407] W [client-handshake.c:1346:client_setvolume_cbk] 0-ARCHIVE80-client-0: failed to get 'process-uuid' from reply dict
[2013-11-11 03:34:03.794418] E [client-handshake.c:1352:client_setvolume_cbk] 0-ARCHIVE80-client-0: SETVOLUME on remote-host failed: Authentication failed
[2013-11-11 03:34:03.794426] I [client-handshake.c:1437:client_setvolume_cbk] 0-ARCHIVE80-client-0: sending AUTH_FAILED event
[2013-11-11 03:34:03.794443] E [fuse-bridge.c:4256:notify] 0-fuse: Server authenication failed. Shutting down.

为什么我可以挂载在一台服务器上而不是另一台服务器上???

【问题讨论】:

  • 有关 glusterfs 客户端主机上的确切错误,请参阅登录 /var/log/glusterfs/

标签: glusterfs


【解决方案1】:

可能是权限问题。能否通过set auth.allow 解决:

[root@test1 ~]#gluster volume set ARCHIVE80 auth.allow 'SERVER1IPADDRESS'

它对我有用。

【讨论】:

  • 感谢您的回答。我在发布之前确实尝试过。过了一会儿,我意识到必须停止/启动 gluster 才能应用设置。我想出的唯一解决方案是“允许”一切并使用 iptables 来保证安全......
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2020-09-07
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多