【问题标题】:Cannot mount GlusterFS from one of the server machines无法从其中一台服务器机器上挂载 GlusterFS
【发布时间】:2016-02-10 15:30:25
【问题描述】:

尝试挂载 glusterfs(4 个服务器,2 个复制)。运行此命令:

sudo mount -t glusterfs xx.xx.xx.xx:/spark-volume01 /glustermnt

挂载失败。详情请查看日志文件。

在日志中我们有这个:

[2016-02-10 15:24:09.689276] I [MSGID: 100030] [glusterfsd.c:2318:main] 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.7.7 (args: /usr/sbin/glusterfs --volfile-server=46.4.68.142 --volfile-id=/spark-volume01 /glustermnt)
[2016-02-10 15:24:09.691961] I [MSGID: 101190] [event-epoll.c:632:event_dispatch_epoll_worker] 0-epoll: Started thread with index 1
[2016-02-10 15:24:09.695285] E [MSGID: 108040] [afr.c:418:init] 0-spark-volume01-replicate-1: Unable to fetch afr pending changelogs. Is op-version >= 30707? [Invalid argument]
[2016-02-10 15:24:09.695299] E [MSGID: 101019] [xlator.c:433:xlator_init] 0-spark-volume01-replicate-1: Initialization of volume 'spark-volume01-replicate-1' failed, review your volfile again
[2016-02-10 15:24:09.695307] E [graph.c:322:glusterfs_graph_init] 0-spark-volume01-replicate-1: initializing translator failed
[2016-02-10 15:24:09.695311] E [graph.c:661:glusterfs_graph_activate] 0-graph: init failed
[2016-02-10 15:24:09.695467] W [glusterfsd.c:1236:cleanup_and_exit] (-->/usr/sbin/glusterfs(mgmt_getspec_cbk+0x327) [0x40d9f7] -->/usr/sbin/glusterfs(glusterfs_process_volfp+0x117) [0x408927] -->/usr/sbin/glusterfs(cleanup_and_exit+0x4d) [0x40805d] ) 0-: received signum (0), shutting down
[2016-02-10 15:24:09.695480] I [fuse-bridge.c:5654:fini] 0-fuse: Unmounting '/glustermnt'.

所有机器上的所有版本都相同。此外,这是一个没有数据的新卷。请帮忙!

附:已安装非复制分发卷,没有任何问题:

xxx@xxxxx:~$ sudo mount -t glusterfs x.x.x.x:/spark-volume-non-replicated /glusterfsmnt-non-replicated
xxx@xxxxx:~$ df -h
Filesystem                                Size  Used Avail Use% Mounted on
x.x.x.x:/spark-volume-non-replicated  3.4T  1.7T  1.5T  54% /glusterfsmnt-non-replicated

【问题讨论】:

  • 3.7.7 版本出现问题。有问题的补丁已恢复。 3.7.8 应该可以正常工作。

标签: glusterfs


【解决方案1】:

似乎没有为每台服务器同步时间和日期。时钟同步应该会有所帮助。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-11-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多