<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On Saturday 02 December 2017 07:00 PM,
Hetz Ben Hamo wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CANhJxzyi_XYVL8+Uy2+aV2c2VWpsg=N1pMTK2juMZQYPK+4ELQ@mail.gmail.com">
<div dir="ltr">
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr"><span
style="background-color:rgb(255,255,255)">
<div
style="font-family:Arial,Verdana,sans-serif">HI,</div>
<div
style="font-family:Arial,Verdana,sans-serif"><br>
</div>
<div
style="font-family:Arial,Verdana,sans-serif">I'm
using CentOS 7.4 with Gluster 3.10.7 and
Ganesha NFS 2.4.5.</div>
<div
style="font-family:Arial,Verdana,sans-serif"><br>
</div>
<div
style="font-family:Arial,Verdana,sans-serif">I'm
trying to create a very simple 2 nodes
cluster to be used with NFS-ganesha. I've
created the bricks and the volume. Here's
the output:</div>
<div
style="font-family:Arial,Verdana,sans-serif"><br>
</div>
<div>
<div><font face="Arial, Verdana, sans-serif">#
gluster volume info</font></div>
<div><font face="Arial, Verdana, sans-serif"><br>
</font></div>
<div><font face="Arial, Verdana, sans-serif">Volume
Name: cluster-demo</font></div>
<div><font face="Arial, Verdana, sans-serif">Type:
Replicate</font></div>
<div><font face="Arial, Verdana, sans-serif">Volume
ID: 9c835a8e-c0ec-494c-a73b-cca9d77871c5</font></div>
<div><font face="Arial, Verdana, sans-serif">Status:
Started</font></div>
<div><font face="Arial, Verdana, sans-serif">Snapshot
Count: 0</font></div>
<div><font face="Arial, Verdana, sans-serif">Number
of Bricks: 1 x 2 = 2</font></div>
<div><font face="Arial, Verdana, sans-serif">Transport-type:
tcp</font></div>
<div><font face="Arial, Verdana, sans-serif">Bricks:</font></div>
<div><font face="Arial, Verdana, sans-serif">Brick1:
glnode1:/data/brick1/gv0</font></div>
<div><font face="Arial, Verdana, sans-serif">Brick2:
glnode2:/data/brick1/gv0</font></div>
<div><font face="Arial, Verdana, sans-serif">Options
Reconfigured:</font></div>
<div><font face="Arial, Verdana, sans-serif">nfs.disable:
on</font></div>
<div><font face="Arial, Verdana, sans-serif">transport.address-family:
inet</font></div>
<div><font face="Arial, Verdana, sans-serif">cluster.enable-shared-storage:
enable</font></div>
<div><font face="Arial, Verdana, sans-serif"><br>
</font></div>
<div><font face="Arial, Verdana, sans-serif">Volume
Name: gluster_shared_storage</font></div>
<div><font face="Arial, Verdana, sans-serif">Type:
Replicate</font></div>
<div><font face="Arial, Verdana, sans-serif">Volume
ID: caf36f36-0364-4ab9-a158-f0d1205898c4</font></div>
<div><font face="Arial, Verdana, sans-serif">Status:
Started</font></div>
<div><font face="Arial, Verdana, sans-serif">Snapshot
Count: 0</font></div>
<div><font face="Arial, Verdana, sans-serif">Number
of Bricks: 1 x 2 = 2</font></div>
<div><font face="Arial, Verdana, sans-serif">Transport-type:
tcp</font></div>
<div><font face="Arial, Verdana, sans-serif">Bricks:</font></div>
<div><font face="Arial, Verdana, sans-serif">Brick1:
glnode2:/var/lib/glusterd/ss_brick</font></div>
<div><font face="Arial, Verdana, sans-serif">Brick2:
192.168.0.95:/var/lib/glusterd/ss_brick</font></div>
<div><font face="Arial, Verdana, sans-serif">Options
Reconfigured:</font></div>
<div><font face="Arial, Verdana, sans-serif">transport.address-family:
inet</font></div>
<div><font face="Arial, Verdana, sans-serif">nfs.disable:
on</font></div>
<div><font face="Arial, Verdana, sans-serif">cluster.enable-shared-storage:
enable</font></div>
<div
style="font-family:Arial,Verdana,sans-serif"><br>
</div>
</div>
<div
style="font-family:Arial,Verdana,sans-serif">However,
when I'm trying to run gluster nfs-ganesha
enable - it creates a wrong symbolic link
and failes:</div>
<div
style="font-family:Arial,Verdana,sans-serif"><br>
</div>
<div
style="font-family:Arial,Verdana,sans-serif">
<div># gluster nfs-ganesha enable</div>
<div>Enabling NFS-Ganesha requires
Gluster-NFS to be disabled across the
trusted pool. Do you still want to
continue?</div>
<div> (y/n) y</div>
<div>This will take a few minutes to
complete. Please wait ..</div>
<div>nfs-ganesha: failed: creation of
symlink ganesha.conf in /etc/ganesha
failed</div>
<div><br>
</div>
</div>
</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<blockquote type="cite"
cite="mid:CANhJxzyi_XYVL8+Uy2+aV2c2VWpsg=N1pMTK2juMZQYPK+4ELQ@mail.gmail.com">
<div dir="ltr">
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr"><span
style="background-color:rgb(255,255,255)">
<div><font face="Arial, Verdana, sans-serif">wrong
link: ganesha.conf ->
/var/run/gluster/shared_storage/nfs-ganesha/ganesha.conf</font><br>
</div>
<div><font face="Arial, Verdana, sans-serif"><br>
</font></div>
<div><font face="Arial, Verdana, sans-serif">
<div># ls -l
/var/run/gluster/shared_storage/</div>
<div>total 0</div>
<div><br>
</div>
<div>I've seen some reports (and fixed) in
Red Hat's Bugzilla and looked at the Red
Hat solutions (<a
href="https://access.redhat.com/solutions/3099581"
moz-do-not-send="true">https://access.redhat.com/solutions/3099581</a>)
but this doesn't help.</div>
</font></div>
</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<blockquote type="cite"
cite="mid:CANhJxzyi_XYVL8+Uy2+aV2c2VWpsg=N1pMTK2juMZQYPK+4ELQ@mail.gmail.com">
<div dir="ltr">
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr"><span
style="background-color:rgb(255,255,255)">
<div><font face="Arial, Verdana, sans-serif">
<div><br>
</div>
<div>Suggestions?</div>
</font></div>
</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
Hi,<br>
<br>
It seems you have not created directory nfs-ganesha under shared
storage and plus copy/create ganesha.conf/ganesha-ha.conf inside<br>
Please follow this document
<a class="moz-txt-link-freetext" href="http://docs.gluster.org/en/latest/Administrator%20Guide/NFS-Ganesha%20GlusterFS%20Integration/">http://docs.gluster.org/en/latest/Administrator%20Guide/NFS-Ganesha%20GlusterFS%20Integration/</a><br>
<br>
Regards,<br>
Jiffin<br>
<br>
<br>
<br>
<br>
<blockquote type="cite"
cite="mid:CANhJxzyi_XYVL8+Uy2+aV2c2VWpsg=N1pMTK2juMZQYPK+4ELQ@mail.gmail.com">
<div dir="ltr">
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr"><span
style="background-color:rgb(255,255,255)">
<div><font face="Arial, Verdana, sans-serif">
<div><br>
</div>
<div>I tried to upgrade to Gluster 3.12
and it seems Ganesha support was kicked
out? whats replacing it?</div>
<div><br>
</div>
</font></div>
</span><span
style="border-collapse:separate;font-family:"Times
New
Roman";font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span
style="font-family:Arial,Verdana,sans-serif;font-size:13px"></span></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://lists.gluster.org/mailman/listinfo/gluster-users">http://lists.gluster.org/mailman/listinfo/gluster-users</a></pre>
</blockquote>
<br>
</body>
</html>