<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>