<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi<br><br>I am facing an issue with my GlusterFS setup. Here is the detailed description of the issue. I would appreciate any prompt help.<br>
___________________________________________________________________________<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Same question posted at StackOverflow.com at <a href="http://stackoverflow.com/questions/23010305/glusterfs-mounted-volume-not-accessible-from-windows-through-samba">http://stackoverflow.com/questions/23010305/glusterfs-mounted-volume-not-accessible-from-windows-through-samba</a><br>
</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><div class="" itemprop="description">

        <h2>Requirement</h2>

<p>Creating a replicated shared drive with GlusterFS and have it accessible in Windows ActiveDirectory with the UNC path.</p>

<p>PS: All our servers are windows and in a single domain. Only GlusterFS servers are linux.</p>

<h2>What I&#39;ve achieved so far</h2>

<p>I have setup GlusterFS with:</p>

<ul><li>Two gluster nodes (GlusterFS: ver 3.3.2 - OS: CentOS release 6.4)</li><li>A replicated volume (gvol1).</li><li>gvol1, mounted on both the nodes (say at /mnt/gvol1).</li></ul>

<p>Working FINE till this point. Any file created in the mounted volume 
(on any node) is replicated to the volume (and the underlying brick) on 
both the nodes.</p>

<p>I have ALSO installed and configured SAMBA on both the nodes. Joined 
both the machines to our windows domain. This looks FINE too. I had 
success with these tests:</p>

<ul><li>AD authentication - SUCCESS</li><li>Sharing a folder from linux through SAMBA. And accessing through windows machines. - SUCCESS</li></ul>

<h2>Problem</h2>

<p>When I try to share the GlusterFS vol (mounted at /mnt/gvol1 on both the gluster nodes) through SAMBA. This is what happens:</p>

<ul><li>VIEWING the shared gluster volume in windows through UNC path (i.e. &#39;gvol1shared&#39; is visible in \gnode1) - SUCCESS</li><li><strong>ACCESSING the shared gluster volume in windows through UNC (i.e. opening \gnode1\gvol1shared) - FAILED</strong></li>
</ul>

<p>I have tried various things but had no luck with this.</p>

<p><strong>Note:</strong> I believe while testing GlusterFS couple of 
months ago, I did a work around for this issue. Instead of sharing the 
&#39;mounted volume&#39; (i.e. /mnt/gvol1) through SAMBA, I shared the brick on 
one of the glusternodes (i.e. say /export/gluster/brick1). <strong>And I believe it worked. BUT Now when I write anything directly to the brick it doesn&#39;t replicate it to other bricks.</strong> So, I&#39;m confused and doubt that it worked in first place. Or I need to change something to get this working too.</p>


    </div><br clear="all"></div><div><div><font color="#666666" face="tahoma, sans-serif">--</font></div><div><font color="#666666" face="tahoma, sans-serif">Thanks</font></div><div><font color="#666666" face="tahoma, sans-serif">Tariq</font></div>
</div>
</div>