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