<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 3, 2016 at 2:25 PM, Daniel Filipazzi <span dir="ltr"><<a href="mailto:daniel.filipazzi@med.lu.se" target="_blank">daniel.filipazzi@med.lu.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">I was about to set upp glusterfs with samba ctdb, i got just about every thing to work up untill i was about to access the samba share .<br>
from a linux client i can see the share but i get "unable to mount location"<br>
and on a windows client "gluser-share is not accessible"<br>
<br>
<br>
Initially i thought that this was an samba / permissions issue but no, ive added users and set permissions to 777.
<br>
Another clue here is what i get from the log.<br>
<br>
-----------------------------------------------------------------------------<br>
Feb 2 14:36:24 centosgfs1 smbd[25962]: [2016/02/02 14:36:24.985817, 0] lib/ctdbd_conn.c:624(ctdb_handle_message)<br>
Feb 2 14:36:24 centosgfs1 smbd[25962]: Got cluster reconfigure message<br>
Feb 2 14:36:44 centosgfs1 smbd[25962]: [2016/02/02 14:36:44.989928, 0] lib/ctdbd_conn.c:624(ctdb_handle_message)<br>
Feb 2 14:36:44 centosgfs1 smbd[25962]: Got cluster reconfigure message<br>
Feb 2 14:37:22 centosgfs1 ctdbd: CTDB is being run without syslog enabled. Logs will be in /var/log/log.ctdb<br>
Feb 2 14:37:48 centosgfs1 root: All required GPFS resources are available. CNFS part is healthy.<br>
Feb 2 14:44:18 centosgfs1 smbd[15061]: [2016/02/02 14:44:18.662763, 0] modules/vfs_glusterfs.c:264(vfs_gluster_connect)<br>
Feb 2 14:44:18 centosgfs1 smbd[15061]: share: Failed to initialize volume (Transport endpoint is not connected)<br></div></div></blockquote><div><br></div><div>This line says Gluster(with smbd) could not connect to glusterd/bricks.</div><div><br></div><div>Is the volume started?</div><div>Firewall configured?</div><div><br></div><div>What does the following logs say</div><div>/var/log/samba/gluster-share*</div><div>/var/log/gluster/etc-*</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">
Feb 2 14:44:19 centosgfs1 smbd[15061]: [2016/02/02 14:44:19.649592, 0] smbd/service.c:941(make_connection_snum)<br>
Feb 2 14:44:19 centosgfs1 smbd[15061]: make_connection: VFS make connection failed!<br>
Feb 2 15:37:46 centosgfs1 smbd[11652]: [2016/02/02 15:37:46.260461, 0] lib/ctdbd_conn.c:624(ctdb_handle_message)<br>
Feb 2 15:37:46 centosgfs1 smbd[11652]: Got cluster reconfigure message<br>
Feb 2 15:37:53 centosgfs1 smbd[15052]: [2016/02/02 15:37:53.755840, 0] lib/ctdbd_conn.c:681(ctdbd_socket_handler)<br>
Feb 2 15:37:53 centosgfs1 smbd[11661]: [2016/02/02 15:37:53.755932, 0] lib/ctdbd_conn.c:681(ctdbd_socket_handler)<br>
Feb 2 15:37:53 centosgfs1 smbd[11661]: packet_fd_read failed: NT_STATUS_END_OF_FILE<br>
Feb 2 15:37:53 centosgfs1 smbd[11661]: [2016/02/02 15:37:53.758719, 0] lib/ctdbd_conn.c:57(cluster_fatal)<br>
Feb 2 15:37:53 centosgfs1 smbd[11661]: cluster fatal event: ctdbd died<br>
Feb 2 15:37:53 centosgfs1 smbd[11661]: - exiting immediately<br>
Feb 2 15:37:53 centosgfs1 smbd[15052]: packet_fd_read failed: NT_STATUS_END_OF_FILE<br>
Feb 2 15:37:53 centosgfs1 smbd[15052]: [2016/02/02 15:37:53.758867, 0] lib/ctdbd_conn.c:57(cluster_fatal)<br>
Feb 2 15:37:53 centosgfs1 smbd[15052]: cluster fatal event: ctdbd died<br>
Feb 2 15:37:53 centosgfs1 smbd[15052]: - exiting immediately<br>
Feb 2 15:37:54 centosgfs1 ctdbd: CTDB is being run without syslog enabled. Logs will be in /var/log/log.ctdb<br>
Feb 2 15:38:14 centosgfs1 root: All required GPFS resources are available. CNFS part is healthy.<br>
Feb 2 15:38:25 centosgfs1 smbd[9796]: [2016/02/02 15:38:25.198307, 0] lib/ctdbd_conn.c:624(ctdb_handle_message)<br>
Feb 2 15:38:25 centosgfs1 smbd[9796]: Got cluster reconfigure message<br>
Feb 2 15:38:36 centosgfs1 smbd[10492]: [2016/02/02 15:38:36.774688, 0] modules/vfs_glusterfs.c:264(vfs_gluster_connect)<br>
Feb 2 15:38:36 centosgfs1 smbd[10492]: share: Failed to initialize volume (Transport endpoint is not connected)<br>
Feb 2 15:38:37 centosgfs1 smbd[10492]: [2016/02/02 15:38:37.755447, 0] smbd/service.c:941(make_connection_snum)<br>
Feb 2 15:38:37 centosgfs1 smbd[10492]: make_connection: VFS make connection failed!<br>
Feb 2 15:38:37 centosgfs1 smbd[10498]: [2016/02/02 15:38:37.966779, 0] modules/vfs_glusterfs.c:264(vfs_gluster_connect)<br>
Feb 2 15:38:37 centosgfs1 smbd[10498]: share: Failed to initialize volume (Transport endpoint is not connected)<br>
Feb 2 15:38:38 centosgfs1 smbd[10498]: [2016/02/02 15:38:38.952001, 0] smbd/service.c:941(make_connection_snum)<br>
Feb 2 15:38:38 centosgfs1 smbd[10498]: make_connection: VFS make connection failed!<br>
<br>
<br>
-----------------------------------------------------------------------------------------------------------------------------------<br>
<br>
I have a feeling that this is a pretty common issue, question is whats the fix and is the actual issue here?<br>
<br>
<br>
More over since glusterfs automaticly generates configuration in smb.conf i gather that nothing should be modified, though the parameter: path = / leaves me a bit puzzled. Im guessing that the parameter: glusterfs:volume = share is the one that does the trick.
<br>
<br>
<br>
<br>
Best regards<span class="HOEnZb"><font color="#888888"><br>
<div>
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px">Daniel Filipazzi<br>
</div>
</div>
</div>
</font></span></div>
</div>
<br>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br></blockquote></div><br></div></div>