<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><font size="-1">And i forget, I get the same result</font><br>
    </p>
    <br>
    <div class="moz-cite-prefix">Le 13/03/2018 à 16:57, Jdt a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:12f41682-9341-2926-ffe9-3ce9fa118395@univ-fcomte.fr">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <p>Le 13/03/2018 à 16:21, Roland Kammerer a écrit :<br>
      </p>
      <blockquote type="cite"
        cite="mid:20180313152113.qoevui5t2tluf5cg@rck.sh">
        <pre wrap="">On Tue, Mar 13, 2018 at 04:07:17PM +0100, Jdt wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">Hi,

We had a three nodes Proxmox cluster in V4 (jessie) with drbd from Proxmox.
I choose to reinitialize this cluster with Proxmox V5 (stretch) with
drbd from Linbit.

I install Proxmox from the ISO image on the three nodes. Proxmox nodes
are not associated yet in a cluster.
I install drbdmanage-proxmox as indicated in
<a class="moz-txt-link-freetext" href="https://docs.linbit.com/docs/users-guide-9.0/#ch-proxmox" moz-do-not-send="true">https://docs.linbit.com/docs/users-guide-9.0/#ch-proxmox</a>
My network interfaces are well configured for drbd.
On the first node I create the drbdpool volume group as indicated in
<a class="moz-txt-link-freetext" href="https://docs.linbit.com/docs/users-guide-9.0/#s-dm-init-cluster" moz-do-not-send="true">https://docs.linbit.com/docs/users-guide-9.0/#s-dm-init-cluster</a>

But it's failed in initialization :
root@dmz-pve1:~ # drbdmanage init 192.168.2.10

You are going to initialize a new drbdmanage cluster.
CAUTION! Note that:
  * Any previous drbdmanage cluster information may be removed
  * Any remaining resources managed by a previous drbdmanage installation
    that still exist on this system will no longer be managed by drbdmanage

Confirm:

  yes/no: yes
Error: External command failed:
drbdsetup new-resource .drbdctrl 0
Command output:
  (stdout)
Command exited with exit_code 20

Initialization failed
</pre>
        </blockquote>
        <pre wrap="">Failing at that early stage usually means that the wrong module is
loaded. cat /proc/drbd
</pre>
      </blockquote>
      <font size="-1">root@dmz-pve1:~ # cat /proc/drbd <br>
        version: 8.4.7 (api:1/proto:86-101)<br>
        srcversion: 2DCC561E7F1E3D63526E90D <br>
        <br>
      </font>
      <blockquote type="cite"
        cite="mid:20180313152113.qoevui5t2tluf5cg@rck.sh">
        <blockquote type="cite">
          <pre wrap="">In /etc/drbdmanaged.cfg, I have
</pre>
        </blockquote>
        <pre wrap="">You should not.</pre>
      </blockquote>
      <font size="-1">Ok, I reinstall<br>
        <br>
      </font><tt>root@dmz-pve1:~ # modinfo drbd </tt><tt><br>
      </tt><tt>filename:      
        /lib/modules/4.13.13-6-pve/kernel/drivers/block/drbd/drbd.ko</tt><tt><br>
      </tt><tt>alias:          block-major-147-*</tt><tt><br>
      </tt><tt>license:        GPL</tt><tt><br>
      </tt><tt>version:        8.4.7</tt><tt><br>
      </tt><tt>description:    drbd - Distributed Replicated Block
        Device v8.4.7</tt><tt><br>
      </tt><tt>author:         Philipp Reisner <a
          class="moz-txt-link-rfc2396E" href="mailto:phil@linbit.com"
          moz-do-not-send="true">&lt;phil@linbit.com&gt;</a>, Lars
        Ellenberg <a class="moz-txt-link-rfc2396E"
          href="mailto:lars@linbit.com" moz-do-not-send="true">&lt;lars@linbit.com&gt;</a></tt><tt><br>
      </tt><tt>srcversion:     2DCC561E7F1E3D63526E90D</tt><tt><br>
      </tt><tt>depends:        lru_cache,libcrc32c</tt><tt><br>
      </tt><tt>retpoline:      Y</tt><tt><br>
      </tt><tt>intree:         Y</tt><tt><br>
      </tt><tt>name:           drbd</tt><tt><br>
      </tt><tt>vermagic:       4.13.13-6-pve SMP mod_unload modversions
      </tt><tt><br>
      </tt><tt>parm:           minor_count:Approximate number of drbd
        devices (1-255) (uint)</tt><tt><br>
      </tt><tt>parm:           disable_sendpage:bool</tt><tt><br>
      </tt><tt>parm:           allow_oos:DONT USE! (bool)</tt><tt><br>
      </tt><tt>parm:           proc_details:int</tt><tt><br>
      </tt><tt>parm:           usermode_helper:string</tt><tt><br>
      </tt><tt><br>
      </tt><tt>root@dmz-pve1:~ # cat /etc/drbdmanaged.cfg </tt><tt><br>
      </tt><tt>[LOCAL]</tt><tt><br>
      </tt><tt>storage-plugin = drbdmanage.storage.lvm_thinlv.LvmThinLv</tt><tt><br>
      </tt><tt>force=1</tt><tt><br>
      </tt><tt>root@dmz-pve1:~ # lsmod | grep drbd</tt><tt><br>
      </tt><tt>drbd                  360448  0</tt><tt><br>
      </tt><tt>lru_cache              16384  1 drbd</tt><tt><br>
      </tt><tt>libcrc32c              16384  2 dm_persistent_data,drbd</tt><tt><br>
      </tt><font size="-1"><br>
        <br>
      </font><br>
      <blockquote type="cite"
        cite="mid:20180313152113.qoevui5t2tluf5cg@rck.sh"><br>
        <pre wrap="">If you don't have "force" set, most of them are ignored. Having options
per node, per config files isn't possible for years. As I don't see
"force", but your "custom options", that indicates to me that you did
not use our version of drbdmanage for proxmox, which sets up
drbdmanaged.cfg correctly, or you just overwrote what was in it with
what you thought is a good idea. Unfortunately, it was not a good
idea...</pre>
      </blockquote>
      <blockquote type="cite"
        cite="mid:20180313152113.qoevui5t2tluf5cg@rck.sh">
        <pre wrap="">Regards, rck
_______________________________________________
drbd-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:drbd-user@lists.linbit.com" moz-do-not-send="true">drbd-user@lists.linbit.com</a>
<a class="moz-txt-link-freetext" href="http://lists.linbit.com/mailman/listinfo/drbd-user" moz-do-not-send="true">http://lists.linbit.com/mailman/listinfo/drbd-user</a>
</pre>
      </blockquote>
      <div class="moz-signature"><font size="-1">Regards, JdT</font><br>
      </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>
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <title></title>
      Bien cordialement, <a
href="https://chrono-environnement.univ-fcomte.fr/acteurs/annuaire/article/tissot-jean-daniel"
        moz-do-not-send="true">Jean-Daniel TISSOT</a><br>
      <div class="moz-signature">
        <div class="moz-signature">
          <div class="moz-signature">
            <div class="moz-signature"> Administrateur Systèmes et
              Réseaux<br>
              Tel: +33 3 81 666 440 Fax: +33 3 81 666 568<br>
              <br>
              <img moz-do-not-send="false"
                src="cid:part8.2E7DBED6.3C6F5162@univ-fcomte.fr"
                alt="Chrono-environnement" width="500" height="73"><br>
              <br>
              <a href="http://chrono-environnement.univ-fcomte.fr/">Laboratoire
                Chrono-environnement</a><br>
              16, Route de Gray<br>
              25 030 BESANÇON Cedex<br>
              <br>
              <a
href="https://mapsengine.google.com/map/viewer?mid=zjsxW4ZzZPLY.kp2qPHUBD45c">Plan
                et Accès</a> </div>
          </div>
        </div>
      </div>
    </div>
  </body>
</html>