MOISY Jérôme
2018-Nov-06 10:51 UTC
[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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20181106/ac0b9c68/attachment.html>
Atin Mukherjee
2018-Nov-09 01:17 UTC
[Gluster-users] Failed to mount automatically Gluster Volume on Ubuntu 18.04.1 and GFS v5.0
What?s the version of srvstogfs-b11,srvstogfs-b11 and the client? Have you checked the glusterd log of srvstogfs-b11 to see the reason of the disconnection? On Wed, 7 Nov 2018 at 04:35, MOISY J?r?me <jerome.moisy at groupe-ab.fr> wrote:> 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 > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > https://lists.gluster.org/mailman/listinfo/gluster-users-- - Atin (atinm) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20181109/65013a04/attachment.html>