首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >GlusterFS在装载时失败

GlusterFS在装载时失败
EN

Stack Overflow用户
提问于 2018-09-22 05:15:01
回答 1查看 4.3K关注 0票数 0

我正在尝试为一个物理集群安装和配置GlusterFS。

我执行了下面链接的步骤,但当我尝试时,挂载失败。

https://www.howtoforge.com/tutorial/high-availability-storage-with-glusterfs-on-ubuntu-1804

卷信息:

代码语言:javascript
复制
# gluster volume info vol01

Volume Name: vol01
Type: Replicate
Volume ID: f6def2b8-24c5-41c8-bf1b-f8396bbac90a
Status: Started
Snapshot Count: 0
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: 192.168.100.104:/mnt/glusterfs
Brick2: 192.168.100.106:/mnt/glusterfs
Options Reconfigured:
performance.client-io-threads: off
nfs.disable: on
transport.address-family: inet

状态:

代码语言:javascript
复制
# gluster volume status
Status of volume: vol01
Gluster process                             TCP Port  RDMA Port  Online  Pid
------------------------------------------------------------------------------
Brick 192.168.100.104:/mnt/glusterfs        49152     0          Y       2085 
Brick 192.168.100.106:/mnt/glusterfs        49152     0          Y       2061 
Self-heal Daemon on localhost               N/A       N/A        Y       1857 
Self-heal Daemon on 192.168.100.106         N/A       N/A        Y       1795 

Task Status of Volume vol01
------------------------------------------------------------------------------
There are no active volume tasks

客户端日志:

代码语言:javascript
复制
[2018-09-21 21:11:09.275690] I [glusterfsd.c:1910:main] 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.4.2 (/usr/sbin/glusterfs --volfile-id=/mnt/glusterfs --volfile-server=tesla /mnt/glusterfs)
[2018-09-21 21:11:09.280052] I [socket.c:3480:socket_init] 0-glusterfs: SSL support is NOT enabled
[2018-09-21 21:11:09.280116] I [socket.c:3495:socket_init] 0-glusterfs: using system polling thread
[2018-09-21 21:11:09.284558] E [glusterfsd-mgmt.c:1574:mgmt_getspec_cbk] 0-glusterfs: failed to get the 'volume file' from server
[2018-09-21 21:11:09.284591] E [glusterfsd-mgmt.c:1674:mgmt_getspec_cbk] 0-mgmt: failed to fetch volume file (key:/mnt/glusterfs)
[2018-09-21 21:11:09.285217] W [glusterfsd.c:1002:cleanup_and_exit] (-->/usr/lib/x86_64-linux-gnu/libgfrpc.so.0(rpc_clnt_notify+0x105) [0x7f80043bbe15] (-->/usr/lib/x86_64-linux-gnu/libgfrpc.so.0(rpc_clnt_handle_reply+0x90) [0x7f80043bbc10] (-->/usr/sbin/glusterfs(mgmt_getspec_cbk+0x449) [0x7f8004a72d09]))) 0-: received signum (0), shutting down
[2018-09-21 21:11:09.285241] I [fuse-bridge.c:5260:fini] 0-fuse: Unmounting '/mnt/glusterfs'.
EN

回答 1

Stack Overflow用户

发布于 2019-07-09 20:56:44

我今天遇到了这个问题,我已经为客户端和服务器启用了ssl。在我的例子中,我没有在客户机上设置安全访问选项(使它使用/etc/ssl/中的glusterfs.ca文件)

要解决此问题,请执行以下操作:

代码语言:javascript
复制
touch /var/lib/glusterd/secure-access
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/52451138

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档