<div dir="ltr"><div><div><div>Hi <br><br></div>Checked whether drbd9 module is loaded. cat /proc/drbd. It should say drbd9. <br></div>I think you are still using the 8.4 version. <br><br></div>Shafeek<br><div><div><br><br><br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 19, 2018 at 10:12 PM, Jdt <span dir="ltr"><<a href="mailto:Jean-Daniel.Tissot@univ-fcomte.fr" target="_blank">Jean-Daniel.Tissot@univ-fcomte.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"><div><div class="h5">
<p><br>
</p>
<br>
<div class="m_-6807245434079267107moz-cite-prefix">Le 13/03/2018 à 17:05, Roland Kammerer
a écrit :<br>
</div>
<blockquote type="cite">
<pre>On Tue, Mar 13, 2018 at 04:57:34PM +0100, Jdt wrote:
</pre>
<blockquote type="cite">
<pre>Le 13/03/2018 à 16:21, Roland Kammerer a écrit :
</pre>
<blockquote type="cite">
<pre>On Tue, Mar 13, 2018 at 04:07:17PM +0100, Jdt wrote:
</pre>
<blockquote type="cite">
<pre>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="m_-6807245434079267107moz-txt-link-freetext" href="https://docs.linbit.com/docs/users-guide-9.0/#ch-proxmox" target="_blank">https://docs.linbit.com/docs/<wbr>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="m_-6807245434079267107moz-txt-link-freetext" href="https://docs.linbit.com/docs/users-guide-9.0/#s-dm-init-cluster" target="_blank">https://docs.linbit.com/docs/<wbr>users-guide-9.0/#s-dm-init-<wbr>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>Failing at that early stage usually means that the wrong module is
loaded. cat /proc/drbd
</pre>
</blockquote>
<pre>root@dmz-pve1:~ # cat /proc/drbd
version: 8.4.7 (api:1/proto:86-101)
srcversion: 2DCC561E7F1E3D63526E90D
</pre>
</blockquote>
<pre>Then I was right. drbdmanage always was drbd9 only. There should be a
drbd-dkms module in our proxmox repo. Install that one and make sure it
is loaded.
</pre>
</blockquote>
</div></div><font size="-1">Thanks. I add pve-headers and drbd-dkms and I can
initialize the new drbdmanage cluster.<br>
It will be nice to include this in
<a class="m_-6807245434079267107moz-txt-link-freetext" href="https://docs.linbit.com/docs/users-guide-9.0/#ch-proxmox" target="_blank">https://docs.linbit.com/docs/<wbr>users-guide-9.0/#ch-proxmox</a> chapter.<br>
But, I got a lot of messages on my syslog about PVE storage about
every ten seconds :<br>
</font><font size="-1">
<blockquote type="cite"><tt>Mar 19 18:54:02 dmz-pve1
pvestatd[1984]: Use of uninitialized value in split at
/usr/share/perl5/PVE/Storage/<wbr>Custom/DRBDPlugin.pm line 217.</tt><tt><br>
</tt><tt>Mar 19 18:54:02 dmz-pve1 pvestatd[1984]: Use of
uninitialized value $free_space in multiplication (*) at
/usr/share/perl5/PVE/Storage/<wbr>Custom/DRBDPlugin.pm line 220.</tt><tt><br>
</tt><tt>Mar 19 18:54:02 dmz-pve1 pvestatd[1984]: Use of
uninitialized value $total_space in multiplication (*) at
/usr/share/perl5/PVE/Storage/<wbr>Custom/DRBDPlugin.pm line 221.</tt><tt><br>
</tt><tt>Mar 19 18:54:12 dmz-pve1 pvestatd[1984]: Use of
uninitialized value in split at
/usr/share/perl5/PVE/Storage/<wbr>Custom/DRBDPlugin.pm line 217.</tt><tt><br>
</tt><tt>Mar 19 18:54:12 dmz-pve1 pvestatd[1984]: Use of
uninitialized value $free_space in multiplication (*) at
/usr/share/perl5/PVE/Storage/<wbr>Custom/DRBDPlugin.pm line 220.</tt><tt><br>
</tt><tt>Mar 19 18:54:12 dmz-pve1 pvestatd[1984]: Use of
uninitialized value $total_space in multiplication (*) at
/usr/share/perl5/PVE/Storage/<wbr>Custom/DRBDPlugin.pm line 221.</tt><tt><br>
</tt><tt>Mar 19 18:54:22 dmz-pve1 pvestatd[1984]: Use of
uninitialized value in split at
/usr/share/perl5/PVE/Storage/<wbr>Custom/DRBDPlugin.pm line 217.</tt><tt><br>
</tt><tt>Mar 19 18:54:22 dmz-pve1 pvestatd[1984]: Use of
uninitialized value $free_space in multiplication (*) at
/usr/share/perl5/PVE/Storage/<wbr>Custom/DRBDPlugin.pm line 220.</tt><tt><br>
</tt><tt>Mar 19 18:54:22 dmz-pve1 pvestatd[1984]: Use of
uninitialized value $total_space in multiplication (*) at
/usr/share/perl5/PVE/Storage/<wbr>Custom/DRBDPlugin.pm line 221.</tt><br>
</blockquote>
In proxmox interface I have no idea of free space on my drbdpool
VG. Initialize the cluster create /dev/drbdpool/.drbdctrl_0 and
/dev/drbdpool/.drbdctrl_1.<br>
For the moment no cluster are created for drbd and for proxmox.<br>
<br>
/etc/drbdmanaged.cfg contain :<span class=""><br>
[LOCAL]<br>
storage-plugin = drbdmanage.storage.lvm_thinlv.<wbr>LvmThinLv<br>
force=1<br>
<br></span>
and /etc/pve/storage.cfg :<br>
dir: local<br>
path /var/lib/vz<br>
content iso,vztmpl,backup<br>
<br>
drbd: drbdstorage<br>
content images,rootdir<br>
redundancy 3<br>
<br>
Any Ideas ?<br>
Thanks in advance<br>
<br>
Regards, JdT<br>
<br>
<br>
<br>
<br>
</font><br>
<div class="m_-6807245434079267107moz-signature"><br>
</div>
</div>
<br>______________________________<wbr>_________________<br>
drbd-user mailing list<br>
<a href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a><br>
<a href="http://lists.linbit.com/mailman/listinfo/drbd-user" rel="noreferrer" target="_blank">http://lists.linbit.com/<wbr>mailman/listinfo/drbd-user</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Shafeek SUMSER<br></div></div></div></div>
</div>