[Gluster-users] Failed to mount automatically Gluster Volume on Ubuntu 18.04.1 and GFS v5.0

MOISY Jérôme jerome.moisy at groupe-ab.fr
Wed Nov 7 12:36:37 UTC 2018


Hello,

More informations :
With a volume of 20Go the auto mount works fine with a fstab like this stogfstest-01:/GFSVOL   /gfsvol glusterfs       defaults,_netdev        0       0
But with a 2.4Po that does not work. I need to add the backupvolfile-server and it always mount through the backup

When I invert primary and backup in fstab, after reboot of the client it is connected through backup. So no matter the server, it always take the 2nd (tried with 10 different servers).

If the primary server is down and backup is up the volume is mounted. But if the primary is up and the backup down, the volume is not mounted.

Storage servers and Client have a 2 x 10Gb teaming.

The volume of 2.4Po is distribute and replicate (2 x 5 Server with 4 bricks each) and client is on a different server.

Thank you in advance for your help.

Regards,

Jérôme MOISY

De : gluster-users-bounces at gluster.org <gluster-users-bounces at gluster.org> De la part de MOISY Jérôme
Envoyé : mardi 6 novembre 2018 13:08
À : gluster-users at gluster.org
Objet : [Gluster-users] Failed to mount automatically Gluster Volume on Ubuntu 18.04.1 and GFS v5.0

Hello,

I just installed a new storage pool with 2 x 5 Servers in version 5.0 and I can not automatically mount the volume on the client. But it works manually.

I found that the volume is mount during the boot then dismount.

With this line in fstab srvstogfs-b11:/GFSVOL02 /gfsvol02 glusterfs defaults,_netdev 0 0 there are those logs on the client
I [glusterfsd-mgmt.c:2424:mgmt_rpc_notify] 0-glusterfsd-mgmt: disconnected from remote-host: srvstogfs-b11
I [fuse-bridge.c:4259:fuse_init] 0-glusterfs-fuse: FUSE inited with protocol versions: glusterfs 7.24 kernel 7.26
I [fuse-bridge.c:4870:fuse_graph_sync] 0-fuse: switched to graph 0
I [fuse-bridge.c:5134:fuse_thread_proc] 0-fuse: initating unmount of /gfsvol02
W [glusterfsd.c:1481:cleanup_and_exit] (-->/lib/x86_64-linux-gnu/libpthread.so.0(+0x76db) [0x7f8bbe6456db] -->/usr/sbin/glusterfs(glusterfs_sigwaiter+0xfd) [0x560315e4397d] -->/usr/sbin/glusterfs(cleanup_and_exit+0x54) [0x560315e437d4] ) 0-: received signum (15), shutting down
I [fuse-bridge.c:5897:fini] 0-fuse: Unmounting '/gfsvol02'.
I [fuse-bridge.c:5902:fini] 0-fuse: Closing fuse connection to '/gfsvol02'

But when I add backupvolfile-server in fstab srvstogfs-b11:/GFSVOL02 /gfsvol02 glusterfs defaults,_netdev,backupvolfile-server=srvstogfs-a11 0 0 it works and logs show this :
I [glusterfsd-mgmt.c:2424:mgmt_rpc_notify] 0-glusterfsd-mgmt: disconnected from remote-host: srvstogfs-b11
I [glusterfsd-mgmt.c:2464:mgmt_rpc_notify] 0-glusterfsd-mgmt: connecting to next volfile server srvstogfs-a11
I [fuse-bridge.c:4259:fuse_init] 0-glusterfs-fuse: FUSE inited with protocol versions: glusterfs 7.24 kernel 7.26
I [fuse-bridge.c:4870:fuse_graph_sync] 0-fuse: switched to graph 0

If I invert the order of the servers it also works (srvstogfs-a11:/GFSVOL02 /gfsvol02 glusterfs defaults,_netdev,backupvolfile-server=srvstogfs-b11 0 0) and logs show this :
I [glusterfsd-mgmt.c:2424:mgmt_rpc_notify] 0-glusterfsd-mgmt: disconnected from remote-host: srvstogfs-a11
I [glusterfsd-mgmt.c:2464:mgmt_rpc_notify] 0-glusterfsd-mgmt: connecting to next volfile server srvstogfs-b11
I [fuse-bridge.c:4259:fuse_init] 0-glusterfs-fuse: FUSE inited with protocol versions: glusterfs 7.24 kernel 7.26
I [fuse-bridge.c:4870:fuse_graph_sync] 0-fuse: switched to graph 0

Servers and Client OS : Ubuntu 18.04.1 LTS Fully update
Glustersf version : 5.0

Thank you in advance for your help

Jérôme MOISY
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20181107/22a36a80/attachment.html>


More information about the Gluster-users mailing list