<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=windows-1252">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello all.<br>
    <br>
    Sorry I have to repost this. Unfortunately I didn't get any answer
    and it would be nice I could solve the problem as this is a go-no go
    point in the decision whether or not the glusterfs will have to be
    used in the production environment.<br>
    <div class="moz-forward-container"><br>
      Tnx in advance for help and have a nice day<br>
      <br>
      Marco<br>
      <br>
      -------- Messaggio Inoltrato --------
      <table class="moz-email-headers-table" border="0" cellpadding="0"
        cellspacing="0">
        <tbody>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Oggetto:
            </th>
            <td>[Gluster-users] Waiting for glusterfs up and running</td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Data: </th>
            <td>Tue, 22 Sep 2015 09:51:34 +0200</td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Mittente:
            </th>
            <td>Marco <a class="moz-txt-link-rfc2396E" href="mailto:marco.brignoli@marcobaldo.ch">&lt;marco.brignoli@marcobaldo.ch&gt;</a></td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">A: </th>
            <td><a class="moz-txt-link-abbreviated" href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <pre>Hello.

I have a system with several VMs, two used as glusterfs servers. If I
restart the whole system, as the VMs with the glusterfs volumes are
quite slow to boot, I have a problem with other VMs that are coming up
faster than the glusterfs VMs. In the client VMs the automounter hangs
as it is started before that the glusterfs volumes are 100% up and running.

This my auto.direct file:

/storage       
-fstype=glusterfs,defaults,_netdev,backupvolfile-server=glusterfs2 
:glusterfs1:volume1

And the error message is

#&gt; ls /storage
ls: cannot open directory /storage: File o directory not existing

# glusterfs --version
glusterfs 3.5.2 built on *bleep*
Repository revision: git://git.gluster.com/glusterfs.git
Copyright (c) 2006-2013 Red Hat, Inc. <a class="moz-txt-link-rfc2396E" href="http://www.redhat.com/">&lt;http://www.redhat.com/&gt;</a>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
It is licensed to you under your choice of the GNU Lesser
General Public License, version 3 or any later version (LGPLv3
or later), or the GNU General Public License, version 2 (GPLv2),
in all cases as published by the Free Software Foundation.

By restarting the automounter, after that the glusterfs is
up-and-running, the problem disappears as expected.

May I ask if there is any way to solve this issue with the automounter
or if I have to create a script that is waiting the volumes (and which
is the recommended way?)?

Tnx and have a nice day

Marco

_______________________________________________
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://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a>
</pre>
      <br>
    </div>
    <br>
  </body>
</html>