<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 <<a href="mailto:ingo@fischer-ka.de" target="_blank">ingo@fischer-ka.de</a>> 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>
> <br>
> <br>
> On Fri, Oct 23, 2020 at 6:15 AM peter knezel <<a href="mailto:peter.knezel@gmail.com" target="_blank">peter.knezel@gmail.com</a><br>
> <mailto:<a href="mailto:peter.knezel@gmail.com" target="_blank">peter.knezel@gmail.com</a>>> wrote:<br>
> <br>
> Hello All,<br>
> <br>
> can somebody responsible confirm me, that mount-shared-storage.sh<br>
> is really missing from glusterfs 7.8-2 packages?<br>
> Will new version be created?<br>
> <br>
> <br>
> 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>
> <<a href="http://download.gluster.org" rel="noreferrer" target="_blank">http://download.gluster.org</a>> for several days now.<br>
> <br>
> <br>
> <br>
> I have recreated this file manually on my two glusterfs servers<br>
> (i took the mount-shared-storage.sh file from a server that was OS<br>
> updated from debian stretch to debian buster (10.5)) - with 7.8-1 at<br>
> that time:<br>
> <br>
> root@server1:~# cd /usr/lib/x86_64-linux-gnu/glusterfs<br>
> root@server1:/usr/lib/x86_64-linux-gnu/glusterfs# ls -ltr|grep<br>
> 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<br>
> mount-shared-storage.sh<br>
> #!/bin/bash<br>
> #Post reboot there is a chance in which mounting of shared storage<br>
> will fail<br>
> #This will impact starting of features like NFS-Ganesha. So this<br>
> 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=$' \t' read -r -a arr <<< "$glm"<br>
> <br>
> #Validate storage type is glusterfs<br>
> if [ "${arr[2]}" == "glusterfs" ]<br>
> then<br>
> <br>
> #check whether shared storage is mounted<br>
> #if it is mounted then mountpoint -q will return a 0<br>
> success code<br>
> if mountpoint -q "${arr[1]}"<br>
> then<br>
> echo "${arr[1]} is already mounted"<br>
> continue<br>
> fi<br>
> <br>
> mount -t glusterfs "${arr[0]}" "${arr[1]}"<br>
> #wait for few seconds<br>
> sleep 10<br>
> <br>
> #recheck mount got succeed<br>
> if mountpoint -q "${arr[1]}"<br>
> then<br>
> echo "${arr[1]} has been mounted"<br>
> continue<br>
> else<br>
> echo "${arr[1]} failed to mount"<br>
> exitStatus=1<br>
> fi<br>
> fi<br>
> done <<< "$(sed '/^#/ d' </etc/fstab | grep 'glusterfs')"<br>
> exit $exitStatus<br>
> root@server1:/usr/lib/x86_64-linux-gnu/glusterfs#<br>
> <br>
> 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)<br>
> x86_64 GNU/Linux<br>
> root@server1:/usr/lib/x86_64-linux-gnu/glusterfs# cat<br>
> /etc/debian_version<br>
> 10.5<br>
> root@server1:/usr/lib/x86_64-linux-gnu/glusterfs#<br>
> <br>
> <br>
> Then I enabled and started glusterfssharedstorage.service.<br>
> It works.<br>
> NOTE: same done on server2 as well.<br>
> <br>
> <br>
> <br>
> Kind regards,<br>
> peterk<br>
> <br>
> <br>
> ________<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> <mailto:<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>
> <br>
> <br>
> ________<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>
> <br>
<br>
-<br>
</blockquote></div>