<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><font size="-1">After another reboot, some links disappears from
        /dev/drbd/by-disk/drbdpool and /dev/drbd/by-res.</font></p>
    <p><font size="-1">For example i have 3 VM so /dev/drbd100,
        /dev/drbd101 and /dev/drbd102 correspond to theses VM raw disks.<br>
        But in </font><font size="-1">/dev/drbd/by-disk/drbdpool i have
        no more the link for vm-101-disk-1_00 to </font><font size="-1">/dev/drbd100<br>
        and no directory /dev/drbd/by-res/vm-101-disk-1 with a link in
        it named 0 to </font><font size="-1">/dev/drbd100<br>
        <br>
        Could anybody explain this ?<br>
      </font></p>
    <br>
    <div class="moz-cite-prefix">Le 16/09/2016 à 15:02, Jean-Daniel
      TISSOT a écrit :<br>
    </div>
    <blockquote
      cite="mid:b7e28d8e-603c-8609-6aa7-443d452039fb@univ-fcomte.fr"
      type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      <p>Hi,</p>
      <p>After testing a little bit more, I see that I must do
        drbdmanage export "*" and drbd adjust all for retrieving  my
        configuration and having my VM resources updated. </p>
      <p>Why does it not done automatically ?<br>
      </p>
      <p>Is there any way to do that automatically in the boot process
        and when ?</p>
      <p>Thanks.</p>
      <p>Regards. Jean-Daniel<br>
      </p>
      <div class="moz-cite-prefix">Le 05/09/2016 à 11:54, Robert
        Altnoeder a écrit :<br>
      </div>
      <blockquote cite="mid:57CD40EA.5040505@linbit.com" type="cite">
        <meta content="text/html; charset=windows-1252"
          http-equiv="Content-Type">
        <div class="moz-cite-prefix">On 09/02/2016 06:05 PM, Jean-Daniel
          TISSOT wrote:<br>
        </div>
        <blockquote
          cite="mid:6abf94e2-9c33-4654-2b56-e2910a555364@univ-fcomte.fr"
          type="cite">
          <meta http-equiv="content-type" content="text/html;
            charset=windows-1252">
          <font size="-1">Hi list,<br>
            <br>
            I remark i have a file
            /var/lib/drbd.d/drbdmanage_vm-100-disk-2.res [...]<br>
            If i reboot a node, this file disappear on this node [...]</font><font
            size="-1"><br>
          </font></blockquote>
        <blockquote
          cite="mid:6abf94e2-9c33-4654-2b56-e2910a555364@univ-fcomte.fr"
          type="cite"><font size="-1">[...] if i do drbdadm connect
            vm-100-disk-2 i receive :<br>
            'vm-100-disk-2' not defined in your config (for this host).<br>
          </font><br>
        </blockquote>
        The DRBD resources on ProxMox with DRBD9 are managed by
        drbdmanage instead of just by drbdadm.<br>
        You can run:<br>
        drbdmanage export vm-100-disk-2<br>
        which will recreate the configuration file in /var/lib/drbd.d
        for use with drbdadm<br>
        <br>
        This command will also implicitly start the drbdmanage server if
        it is not yet started (otherwise, drbdmanage startup can be used
        to start the drbdmanage server, which also starts all resources
        managed by drbdmanage).<br>
        <br>
        Apart from that, since the resource appears to be running, but
        is marked as Outdated and StandAlone, there might also be
        something wrong with the resource itself. If the resource does
        not reconnect/resync after a 'drbdadm adjust' command, the
        system log should be checked for messages regarding the state of
        that resource (such as e.g. a split-brain alert)<br>
        <br>
        <div class="moz-signature">-- <br>
          <meta http-equiv="content-type" content="text/html;
            charset=windows-1252">
          <title></title>
          Robert Altnoeder<br>
          DRBD - Corosync - Pacemaker<br>
          <a moz-do-not-send="true" href="tel:43181782920"
            style="color:#000000;text-decoration:none;">+43 (1) 817 82
            92 - 0</a><br>
          <a moz-do-not-send="true"
            href="mailto:robert.altnoeder@linbit.com"
            style="color:#000000;text-decoration:none;">robert.altnoeder@linbit.com</a><br>
          <p>DRBD® and LINBIT® are registered trademarks of LINBIT,
            Austria.</p>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
drbd-user mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</a>
</pre>
      </blockquote>
      <br>
      <div class="moz-signature">-- <br>
        Bien cordialement, <a moz-do-not-send="true"
          href="http://chrono-environnement.univ-fcomte.fr/spip.php?article457">Jean-Daniel
          TISSOT</a><br>
        Administrateur Systèmes et Réseaux<br>
        Tel: +33 3 81 666 440 Fax: +33 3 81 666 568<br>
        <br>
        <a moz-do-not-send="true"
          href="http://chrono-environnement.univ-fcomte.fr/">Laboratoire
          Chrono-environnement</a><br>
        16, Route de Gray<br>
        25030 BESANÇON Cédex<br>
        <br>
        <a moz-do-not-send="true"
href="https://mapsengine.google.com/map/viewer?mid=zjsxW4ZzZPLY.kp2qPHUBD45c">Plan
          et Accès</a> </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
drbd-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a>
<a class="moz-txt-link-freetext" href="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</a>
</pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      Bien cordialement, <a
        href="http://chrono-environnement.univ-fcomte.fr/spip.php?article457">Jean-Daniel
        TISSOT</a><br>
      Administrateur Systèmes et Réseaux<br>
      Tel: +33 3 81 666 440 Fax: +33 3 81 666 568<br>
      <br>
      <a href="http://chrono-environnement.univ-fcomte.fr/">Laboratoire
        Chrono-environnement</a><br>
      16, Route de Gray<br>
      25030 BESANÇON Cédex<br>
      <br>
      <a
href="https://mapsengine.google.com/map/viewer?mid=zjsxW4ZzZPLY.kp2qPHUBD45c">Plan
        et Accès</a>
    </div>
  </body>
</html>