Сбой GlusterFS при монтировании - PullRequest
0 голосов
/ 22 сентября 2018

Я пытаюсь установить и настроить GlusterFS для физического кластера.

Я выполнил шаги по ссылке ниже, но при попытке монтирования не удалось.

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

Информация о томе:

# 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

Статус:

# 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

Журнал клиента:

[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'.

1 Ответ

0 голосов
/ 09 июля 2019

Я столкнулся с этой проблемой сегодня, у меня включен ssl для клиентов и серверов.В моем случае я не установил опцию безопасного доступа на клиенте (чтобы он использовал файл glusterfs.ca в / etc / ssl /)

Чтобы решить эту проблему:

touch /var/lib/glusterd/secure-access
...