<div dir="ltr"><div><font size="2"><span style="font-family:monospace">Well, thanks for the info.</span></font></div><div><font size="2"><span style="font-family:monospace">I have upgraded my servers from 7.8-2 to 7.8-3.<br></span></font></div><div><font size="2"><span style="font-family:monospace">7.8-3 contains the needed mount-shared-storage.sh</span></font></div><div><font size="2"><span style="font-family:monospace">And Ingo is right - it was not there on 21st of October ...;-)</span></font></div><div><font size="2"><span style="font-family:monospace"><br></span></font></div><div><font size="2"><span style="font-family:monospace">NOTE: when i disable the glusterfssharedstorage.service, i can live without it.</span></font></div><div><font size="2"><span style="font-family:monospace">What is the real purpose of using this service?<br></span></font></div><div><font size="2"><span style="font-family:monospace"><br></span></font></div><div><font size="2"><span style="font-family:monospace">Kind regards,</span></font></div><div><font size="2"><span style="font-family:monospace">peterk<br></span></font></div><div><font size="2"><span style="font-family:monospace"><br></span></font></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 23 Oct 2020 at 18:34, Ingo Fischer &lt;<a href="mailto:ingo@fischer-ka.de" target="_blank">ingo@fischer-ka.de</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
verified ... they are available now ... were not on 21.10. :-)<br>
<br>
Thank you!<br>
<br>
Ingo<br>
<br>
Am 23.10.20 um 18:05 schrieb Kaleb Keithley:<br>
&gt; <br>
&gt; <br>
&gt; On Fri, Oct 23, 2020 at 6:15 AM peter knezel &lt;<a href="mailto:peter.knezel@gmail.com" target="_blank">peter.knezel@gmail.com</a><br>
&gt; &lt;mailto:<a href="mailto:peter.knezel@gmail.com" target="_blank">peter.knezel@gmail.com</a>&gt;&gt; wrote:<br>
&gt; <br>
&gt;     Hello All,<br>
&gt; <br>
&gt;     can somebody responsible confirm me, that mount-shared-storage.sh<br>
&gt;     is really missing from glusterfs 7.8-2 packages?<br>
&gt;     Will new version be created?<br>
&gt; <br>
&gt; <br>
&gt; It is fixed in 7.8-3, which has been on <a href="http://download.gluster.org" rel="noreferrer" target="_blank">download.gluster.org</a><br>
&gt; &lt;<a href="http://download.gluster.org" rel="noreferrer" target="_blank">http://download.gluster.org</a>&gt; for several days now.<br>
&gt;  <br>
&gt; <br>
&gt; <br>
&gt;     I have recreated this file manually on my two glusterfs servers<br>
&gt;     (i took the mount-shared-storage.sh file from a server that was OS<br>
&gt;     updated from debian stretch to debian buster (10.5)) - with 7.8-1 at<br>
&gt;     that time:<br>
&gt; <br>
&gt;     root@server1:~# cd /usr/lib/x86_64-linux-gnu/glusterfs<br>
&gt;     root@server1:/usr/lib/x86_64-linux-gnu/glusterfs# ls -ltr|grep<br>
&gt;     storage.sh<br>
&gt;     -rwxr-xr-x 1 root root  1259 Oct 23 09:28 mount-shared-storage.sh<br>
&gt;     root@server1:/usr/lib/x86_64-linux-gnu/glusterfs# cat<br>
&gt;     mount-shared-storage.sh<br>
&gt;     #!/bin/bash<br>
&gt;     #Post reboot there is a chance in which mounting of shared storage<br>
&gt;     will fail<br>
&gt;     #This will impact starting of features like NFS-Ganesha. So this<br>
&gt;     script will<br>
&gt;     #try to mount the shared storage if it fails<br>
&gt; <br>
&gt;     exitStatus=0<br>
&gt; <br>
&gt;     while IFS= read -r glm<br>
&gt;     do<br>
&gt;             IFS=$&#39; \t&#39; read -r -a arr &lt;&lt;&lt; &quot;$glm&quot;<br>
&gt; <br>
&gt;             #Validate storage type is glusterfs<br>
&gt;             if [ &quot;${arr[2]}&quot; == &quot;glusterfs&quot; ]<br>
&gt;             then<br>
&gt; <br>
&gt;                     #check whether shared storage is mounted<br>
&gt;                     #if it is mounted then mountpoint -q will return a 0<br>
&gt;     success code<br>
&gt;                     if mountpoint -q &quot;${arr[1]}&quot;<br>
&gt;                     then<br>
&gt;                             echo &quot;${arr[1]} is already mounted&quot;<br>
&gt;                             continue<br>
&gt;                     fi<br>
&gt; <br>
&gt;                     mount -t glusterfs &quot;${arr[0]}&quot; &quot;${arr[1]}&quot;<br>
&gt;                     #wait for few seconds<br>
&gt;                     sleep 10<br>
&gt; <br>
&gt;                     #recheck mount got succeed<br>
&gt;                     if mountpoint -q &quot;${arr[1]}&quot;<br>
&gt;                     then<br>
&gt;                             echo &quot;${arr[1]} has been mounted&quot;<br>
&gt;                             continue<br>
&gt;                     else<br>
&gt;                             echo &quot;${arr[1]} failed to mount&quot;<br>
&gt;                             exitStatus=1<br>
&gt;                     fi<br>
&gt;             fi<br>
&gt;     done &lt;&lt;&lt; &quot;$(sed &#39;/^#/ d&#39; &lt;/etc/fstab | grep &#39;glusterfs&#39;)&quot;<br>
&gt;     exit $exitStatus<br>
&gt;     root@server1:/usr/lib/x86_64-linux-gnu/glusterfs#<br>
&gt; <br>
&gt;     root@server1:/usr/lib/x86_64-linux-gnu/glusterfs# uname -a<br>
&gt;     Linux server1 4.19.0-10-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24)<br>
&gt;     x86_64 GNU/Linux<br>
&gt;     root@server1:/usr/lib/x86_64-linux-gnu/glusterfs# cat<br>
&gt;     /etc/debian_version<br>
&gt;     10.5<br>
&gt;     root@server1:/usr/lib/x86_64-linux-gnu/glusterfs#<br>
&gt; <br>
&gt; <br>
&gt;     Then I enabled and started glusterfssharedstorage.service.<br>
&gt;     It works.<br>
&gt;     NOTE: same done on server2 as well.<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt;     Kind regards,<br>
&gt;     peterk<br>
&gt; <br>
&gt; <br>
&gt;     ________<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt;     Community Meeting Calendar:<br>
&gt; <br>
&gt;     Schedule -<br>
&gt;     Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC<br>
&gt;     Bridge: <a href="https://bluejeans.com/441850968" rel="noreferrer" target="_blank">https://bluejeans.com/441850968</a><br>
&gt; <br>
&gt;     Gluster-users mailing list<br>
&gt;     <a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a> &lt;mailto:<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a>&gt;<br>
&gt;     <a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a><br>
&gt; <br>
&gt; <br>
&gt; ________<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; Community Meeting Calendar:<br>
&gt; <br>
&gt; Schedule -<br>
&gt; Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC<br>
&gt; Bridge: <a href="https://bluejeans.com/441850968" rel="noreferrer" target="_blank">https://bluejeans.com/441850968</a><br>
&gt; <br>
&gt; Gluster-users mailing list<br>
&gt; <a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
&gt; <a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a><br>
&gt; <br>
<br>
-<br>
</blockquote></div>