<div dir="ltr"><div><div><div><div>HI Roland,<br><br></div>Yes it is the case of a drbd 8.4 vs 9. A cat /proc/drbd gives mes<br>version: 8.4.7 (api:1/proto:86-101)<br>srcversion: 2DCC561E7F1E3D63526E90D <br><br></div>I checked the link regarding the docs. I fact, I changed my sources.list file to deb <a href="http://packages.linbit.com/proxmox/">http://packages.linbit.com/proxmox/</a> proxmox-5 drbd-9.0 before upgrade. <br><br></div>But still drbd fall to version 8.4. <br><br></div>I have already installed drbd-dkms (Version: 9.0.9+linbit-1) provided by Linbit. Which kernel-headers we need to install?<br><div><div><div><br></div><div>Thanks<br><br></div><div>Shafeek<br></div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 19, 2018 at 1:59 PM, Roland Kammerer <span dir="ltr"><<a href="mailto:roland.kammerer@linbit.com" target="_blank">roland.kammerer@linbit.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Mon, Mar 19, 2018 at 01:39:39PM +0400, Shafeek Sumser wrote:<br>
> Hello,<br>
><br>
> We have a cluster of 3 servers with Proxmox 4.4 avec DRBD9.<br>
> We have upgraded Proxmox from 4.4 to 5.1 but drbd cluster failed.<br>
><br>
> No DRBD resources are to be found.<br>
><br>
> Below is the status of DRBD9<br>
><br>
> root@srv2:~# /etc/init.d/drbd status<br>
> ● drbd.service - DRBD -- please disable. Unless you are NOT using a cluster<br>
> manager.<br>
> Loaded: loaded (/lib/systemd/system/drbd.<wbr>service; disabled; vendor<br>
> preset: enabled)<br>
> Active: inactive (dead)<br>
> root@srv2:~# /etc/init.d/drbd start<br>
> [....] Starting drbd (via systemctl): drbd.serviceJob for drbd.service<br>
> failed because the control process exited with error code.<br>
> See "systemctl status drbd.service" and "journalctl -xe" for details.<br>
> failed!<br>
> root@srv2:~# journalctl -xe<br>
> Mar 19 13:17:01 srv2 CRON[6301]: (root) CMD ( cd / && run-parts --report<br>
> /etc/cron.hourly)<br>
> Mar 19 13:17:01 srv2 CRON[6296]: pam_unix(cron:session): session closed for<br>
> user root<br>
> Mar 19 13:17:01 srv2 systemd[1]: Started Proxmox VE replication runner.<br>
> -- Subject: Unit pvesr.service has finished start-up<br>
> -- Defined-By: systemd<br>
> -- Support: <a href="https://www.debian.org/support" rel="noreferrer" target="_blank">https://www.debian.org/support</a><br>
> --<br>
> -- Unit pvesr.service has finished starting up.<br>
> --<br>
> -- The start-up result is done.<br>
> Mar 19 13:17:24 srv2 pvestatd[1685]: Use of uninitialized value in split at<br>
> /usr/share/perl5/PVE/Storage/<wbr>Custom/DRBDPlugin.pm line 217.<br>
> Mar 19 13:17:24 srv2 pvestatd[1685]: Use of uninitialized value $free_space<br>
> in multiplication (*) at /usr/share/perl5/PVE/Storage/<wbr>Custom/DRBD<br>
> Mar 19 13:17:24 srv2 pvestatd[1685]: Use of uninitialized value<br>
> $total_space in multiplication (*) at<br>
> /usr/share/perl5/PVE/Storage/<wbr>Custom/DRB<br>
> Mar 19 13:17:24 srv2 pvestatd[1685]: status update time (32.584 seconds)<br>
> Mar 19 13:17:47 srv2 pmxcfs[1604]: [status] notice: received log<br>
> Mar 19 13:17:54 srv2 systemd[1]: Starting DRBD -- please disable. Unless<br>
> you are NOT using a cluster manager....<br>
> -- Subject: Unit drbd.service has begun start-up<br>
> -- Defined-By: systemd<br>
> -- Support: <a href="https://www.debian.org/support" rel="noreferrer" target="_blank">https://www.debian.org/support</a><br>
> --<br>
> -- Unit drbd.service has begun starting up.<br>
> Mar 19 13:17:54 srv2 drbd[6389]: Starting DRBD resources:<br>
> Mar 19 13:17:54 srv2 drbd[6389]: drbd.d/drbdctrl.res:18: Parse error: 'disk<br>
> | device | address | meta-disk | flexible-meta-disk' expected,<br>
> Mar 19 13:17:54 srv2 drbd[6389]: but got 'node-id'<br>
> Mar 19 13:17:54 srv2 drbd[6389]: failed!<br>
> Mar 19 13:17:54 srv2 systemd[1]: drbd.service: Main process exited,<br>
<br>
</div></div>Looks like another drbd 8.4 vs 9 case...<br>
<br>
Check cat /proc/drbd, probably you fell back to 8.4. That is because<br>
IIRC Proxmox shipped the drbd9 kernel module, but dropped that. A drbd9<br>
dkms is publicly available, you have to install kernel-headers and then<br>
install the dkms.<br>
<br>
You can find some infos here:<br>
<a href="https://docs.linbit.com/docs/users-guide-9.0/#ch-proxmox" rel="noreferrer" target="_blank">https://docs.linbit.com/docs/<wbr>users-guide-9.0/#ch-proxmox</a><br>
<br>
Regards, rck<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>
</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>