glusterfs 3.2.5 传输端点未连接

glusterfs 3.2.5 传输端点未连接

大约一天以来,我一直在尝试在 ubuntu 12.04 上使用 gluster(3.2.5)在 2 台服务器上设置镜像,但无法弄清楚我做错了什么。

我在两个 vps 之间有一个 openvpn 隧道

目前 openvpn 接口没有 iptables 规则

我使用以下命令设置初始卷:

gluster volume create vmail replica 2 transport tcp gserver1:/var/export/vmail gserver2:/var/export/vmail

我使用以下命令进行安装:

mount.glusterfs gserver1:/vmail /var/vmail

我收到此错误:

~# df -h
df: `/var/vmail': Transport endpoint is not connected

我在砖日志文件中看到以下错误,我已经用谷歌搜索过,但说实话找不到任何看起来非常有用的东西:

I [glusterfsd.c:1493:main] 0-/usr/sbin/glusterfsd: Started running /usr/sbin/glusterfsd version 3.2.5
W [socket.c:419:__socket_keepalive] 0-socket: failed to set keep idle on socket 8
W [socket.c:1846:socket_server_event_handler] 0-socket.glusterfsd: Failed to set keep-alive: Operation not supported
W [graph.c:291:gf_add_cmdline_options] 0-vmail-server: adding option 'listen-port' for volume 'vmail-server' with value '24009'
W [rpc-transport.c:447:validate_volume_options] 0-tcp.vmail-server: option 'listen-port' is deprecated, preferred is 'transport.socket.listen-port', continuing with correction
C [posix.c:4723:init] 0-vmail-posix: Extended attribute not supported, exiting.
E [xlator.c:1447:xlator_init] 0-vmail-posix: Initialization of volume 'vmail-posix' failed, review your volfile again
E [graph.c:348:glusterfs_graph_init] 0-vmail-posix: initializing translator failed
E [graph.c:526:glusterfs_graph_activate] 0-graph: init failed
W [glusterfsd.c:727:cleanup_and_exit] (-->/usr/lib/libgfrpc.so.0(rpc_clnt_handle_reply+0xa5) [0x7f5c1ebaeec5] (-->/usr/sbin/glusterfsd(mgmt_getspec_cbk+0xc7) [0x7f5c1f246c07] (-->/usr/sbin/glusterfsd(glusterfs_process_volfp+0x192) [0x7f5c1f244b52]))) 0-: received signum (0), shutting down

有人能帮我解决这个问题吗?我想要的只是跨这两台服务器的双向复制(HA)。

答案1

对于任何对更新感兴趣的人:

  • 从那时起,我已经在几个测试虚拟盒实例上进行了一些测试。

  • 我在两者之间设置了 OpenVPN,与实际设置相同。

  • 我以相同的方式设置了 gluster 卷,并且一切正常。

我尝试在真实环境中复制精确的步骤,但没有成功。

这似乎是 OpenVZ 容器上的一个调整问题,我已向他们开具了几张支持单,请求我在另一篇文章中发现的某些调整参数。

一旦我确认调整是否有效,我就会更新这个线程。

J

相关内容