On Mon, Mar 19, 2018 at 01:39:39PM +0400, Shafeek Sumser wrote: > Hello, > > We have a cluster of 3 servers with Proxmox 4.4 avec DRBD9. > We have upgraded Proxmox from 4.4 to 5.1 but drbd cluster failed. > > No DRBD resources are to be found. > > Below is the status of DRBD9 > > root@srv2:~# /etc/init.d/drbd status > ● drbd.service - DRBD -- please disable. Unless you are NOT using a cluster > manager. > Loaded: loaded (/lib/systemd/system/drbd.service; disabled; vendor > preset: enabled) > Active: inactive (dead) > root@srv2:~# /etc/init.d/drbd start > [....] Starting drbd (via systemctl): drbd.serviceJob for drbd.service > failed because the control process exited with error code. > See "systemctl status drbd.service" and "journalctl -xe" for details. > failed! > root@srv2:~# journalctl -xe > Mar 19 13:17:01 srv2 CRON[6301]: (root) CMD ( cd / && run-parts --report > /etc/cron.hourly) > Mar 19 13:17:01 srv2 CRON[6296]: pam_unix(cron:session): session closed for > user root > Mar 19 13:17:01 srv2 systemd[1]: Started Proxmox VE replication runner. > -- Subject: Unit pvesr.service has finished start-up > -- Defined-By: systemd > -- Support: https://www.debian.org/support > -- > -- Unit pvesr.service has finished starting up. > -- > -- The start-up result is done. > Mar 19 13:17:24 srv2 pvestatd[1685]: Use of uninitialized value in split at > /usr/share/perl5/PVE/Storage/Custom/DRBDPlugin.pm line 217. > Mar 19 13:17:24 srv2 pvestatd[1685]: Use of uninitialized value $free_space > in multiplication (*) at /usr/share/perl5/PVE/Storage/Custom/DRBD > Mar 19 13:17:24 srv2 pvestatd[1685]: Use of uninitialized value > $total_space in multiplication (*) at > /usr/share/perl5/PVE/Storage/Custom/DRB > Mar 19 13:17:24 srv2 pvestatd[1685]: status update time (32.584 seconds) > Mar 19 13:17:47 srv2 pmxcfs[1604]: [status] notice: received log > Mar 19 13:17:54 srv2 systemd[1]: Starting DRBD -- please disable. Unless > you are NOT using a cluster manager.... > -- Subject: Unit drbd.service has begun start-up > -- Defined-By: systemd > -- Support: https://www.debian.org/support > -- > -- Unit drbd.service has begun starting up. > Mar 19 13:17:54 srv2 drbd[6389]: Starting DRBD resources: > Mar 19 13:17:54 srv2 drbd[6389]: drbd.d/drbdctrl.res:18: Parse error: 'disk > | device | address | meta-disk | flexible-meta-disk' expected, > Mar 19 13:17:54 srv2 drbd[6389]: but got 'node-id' > Mar 19 13:17:54 srv2 drbd[6389]: failed! > Mar 19 13:17:54 srv2 systemd[1]: drbd.service: Main process exited,
Looks like another drbd 8.4 vs 9 case... Check cat /proc/drbd, probably you fell back to 8.4. That is because IIRC Proxmox shipped the drbd9 kernel module, but dropped that. A drbd9 dkms is publicly available, you have to install kernel-headers and then install the dkms. You can find some infos here: https://docs.linbit.com/docs/users-guide-9.0/#ch-proxmox Regards, rck _______________________________________________ drbd-user mailing list drbd-user@lists.linbit.com http://lists.linbit.com/mailman/listinfo/drbd-user