<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">maybe you could find
      "defaults,_netdev,noauto,x-systemd.automount " useful... good
      luck!<br>
      <br>
      El 28/07/18 a les 10:11, Stefan Kania ha escrit:<br>
    </div>
    <blockquote type="cite"
      cite="mid:d775b31d-4693-01dc-41a4-b15095dabb97@kania-online.de">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <p>I tried both, but still the same :-(. Any other solution?</p>
      <p>Stefan<br>
      </p>
      <br>
      <div class="moz-cite-prefix">Am 26.07.18 um 16:21 schrieb Vlad
        Kopylov:<br>
      </div>
      <blockquote type="cite"
cite="mid:CACeDKtdNTkBebnDsTLsa8+-2XMqLJosXK2M0sBiaAb+b0R35rw@mail.gmail.com">
        <meta http-equiv="content-type" content="text/html;
          charset=windows-1252">
        <div dir="ltr">
          <div>or maybe something like fetch-attempts=5<br>
          </div>
          <div><br>
          </div>
          <div>vm1:/v /var/volumes/vol-1 glusterfs
defaults,_netdev,negative-timeout=10,attribute-timeout=30,fopen-keep-cache,direct-io-mode=enable,fetch-attempts=5
            0 0</div>
          <br>
        </div>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Thu, Jul 26, 2018 at 6:36 AM,
            Anoop C S <span dir="ltr">&lt;<a
                href="mailto:anoopcs@autistici.org" target="_blank"
                moz-do-not-send="true">anoopcs@autistici.org</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex"><span
                class="">On Thu, 2018-07-26 at 12:23 +0200, Stefan Kania
                wrote:<br>
                &gt; Hello,<br>
                &gt; <br>
                &gt; I have the following problem:<br>
                &gt; If I reboot a node in a gluster-cluster on a
                Debian- or Ubuntu-System<br>
                &gt; the fuse-mount is not working if I just put the
                mount-options into the<br>
                &gt; /etc/fstab. For this reason I wrote a
                systemd-script as followed:<br>
                &gt; -----------------<br>
                &gt; [Unit]<br>
                &gt; Description = Data dir<br>
                &gt; After=network.target glusterfs-server.service<br>
                &gt; Required=network-online.target<br>
                &gt; [Mount]<br>
                &gt; What=c1:/gv1<br>
                &gt; Where=/glusterfs<br>
                &gt; Type=glusterfs<br>
                &gt; Options=defaults,acl<br>
                &gt; [Install]<br>
                &gt; WantedBy=multi-user.target<br>
                &gt; -----------------<br>
                &gt; Somtimes the the volume will be mounted and
                sometime not. I can't figure<br>
                &gt; out why it's sometime not mounting the volume. If I
                execute the script<br>
                &gt; after a reboot the volume is mounting, so the
                script is working only the<br>
                &gt; conditions during the boot-process are the problem
                (I think). Can<br>
                &gt; someone give me a hint where to change things in my
                script?<br>
                <br>
              </span>Instead of this custom script, does it help if you
              put the following option to /etc/fstab?<br>
              <br>
              x-systemd.requires=&lt;service name&gt;<br>
              <br>
              See <a
                href="http://man7.org/linux/man-pages/man5/systemd.mount.5.html#FSTAB"
                rel="noreferrer" target="_blank" moz-do-not-send="true">http://man7.org/linux/man-<wbr>pages/man5/systemd.mount.5.<wbr>html#FSTAB</a>
              for more details.<br>
              <span class=""><br>
                &gt; It dosn't matter which gluster-version or which
                OS-Version I use it's<br>
                &gt; always the same.<br>
                &gt; <br>
                &gt; Stefan<br>
                &gt; <br>
                &gt; <br>
              </span>&gt; ______________________________<wbr>_________________<br>
              &gt; Gluster-users mailing list<br>
              &gt; <a href="mailto:Gluster-users@gluster.org"
                moz-do-not-send="true">Gluster-users@gluster.org</a><br>
              &gt; <a
                href="https://lists.gluster.org/mailman/listinfo/gluster-users"
                rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.gluster.org/<wbr>mailman/listinfo/gluster-users</a><br>
              <br>
              ______________________________<wbr>_________________<br>
              Gluster-users mailing list<br>
              <a href="mailto:Gluster-users@gluster.org"
                moz-do-not-send="true">Gluster-users@gluster.org</a><br>
              <a
                href="https://lists.gluster.org/mailman/listinfo/gluster-users"
                rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.gluster.org/<wbr>mailman/listinfo/gluster-users</a><br>
            </blockquote>
          </div>
          <br>
        </div>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
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="https://lists.gluster.org/mailman/listinfo/gluster-users">https://lists.gluster.org/mailman/listinfo/gluster-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>