[DRBD-user] DRBD9 - ASSERTION FAILED: pp_in_use

Igor Cicimov icicimov at gmail.com
Sun Apr 24 02:29:45 CEST 2016

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Did you read this?
https://www.drbd.org/en/doc/users-guide-90/s-enable-dual-primary
On 24 Apr 2016 6:03 am, "Ml Ml" <mliebherr99 at googlemail.com> wrote:

> Hello List,
>
> i am running DRBD9 with 4.2.8-1-pve (Proxmox 4.1) and in syslog i get:
>
> Apr 23 21:50:07 node02 kernel: [ 5018.813223] drbd vm-101-disk-1
> node01: ASSERTION FAILED: pp_in_use: -12 < 0
> Apr 23 21:50:07 node02 kernel: [ 5018.813379] drbd vm-104-disk-1
> node01: ASSERTION FAILED: pp_in_use: -2 < 0
> Apr 23 21:50:07 node02 kernel: [ 5018.913334] drbd vm-101-disk-1
> node01: ASSERTION FAILED: pp_in_use: -12 < 0
> Apr 23 21:50:07 node02 kernel: [ 5018.913509] drbd vm-104-disk-1
> node01: ASSERTION FAILED: pp_in_use: -2 < 0
> Apr 23 21:50:07 node02 kernel: [ 5019.013381] drbd vm-101-disk-1
> node01: ASSERTION FAILED: pp_in_use: -12 < 0
>
> And this quite a lot:
> grep "ASSERTION FAILED" -c /var/log/syslog
> 74076
>
> Any idea whats broken here?
> Do you need any more infos?
>
> Thanks,
> Mario
>
>
> # /etc/drbd.conf
> global {
>     usage-count yes;
> }
>
> common {
> }
>
> # resource .drbdctrl on node02: not ignored, not stacked
> # defined at /etc/drbd.d/drbdctrl.res:1
> resource .drbdctrl {
>     volume 0 {
>         device           minor 0;
>         disk             /dev/drbdpool/.drbdctrl_0;
>         meta-disk        internal;
>     }
>     volume 1 {
>         device           minor 1;
>         disk             /dev/drbdpool/.drbdctrl_1;
>         meta-disk        internal;
>     }
>     on node02 {
>         node-id 1;
>         address          ipv4 192.168.113.2:6999;
>     }
>     on node03 {
>         node-id 2;
>         address          ipv4 192.168.113.3:6999;
>     }
>     on node01 {
>         node-id 0;
>         address          ipv4 192.168.113.1:6999;
>     }
>     connection-mesh {
>         hosts node02 node03 node01;
>         net {
>             protocol       C;
>         }
>     }
>     net {
>         cram-hmac-alg    sha256;
>         shared-secret    tza2VB63DEJWCsk/kZY6;
>         allow-two-primaries  no;
>     }
> }
>
> # resource vm-100-disk-1 on node02: not ignored, not stacked
> # defined at /var/lib/drbd.d/drbdmanage_vm-100-disk-1.res:2
> resource vm-100-disk-1 {
>     template-file /var/lib/drbd.d/drbdmanage_global_common.conf;
>     on node02 {
>         node-id 0;
>         volume 0 {
>             disk {
>                 size     78643200k;
>             }
>             device       minor 101;
>             disk         /dev/drbdpool/vm-100-disk-1_00;
>             meta-disk    internal;
>         }
>         address          ipv4 192.168.113.2:7001;
>     }
>     on node03 {
>         node-id 1;
>         volume 0 {
>             disk {
>                 size     78643200k;
>             }
>             device       minor 101;
>             disk         /dev/drbdpool/vm-100-disk-1_00;
>             meta-disk    internal;
>         }
>         address          ipv4 192.168.113.3:7001;
>     }
>     on node01 {
>         node-id 2;
>         volume 0 {
>             disk {
>                 size     78643200k;
>             }
>             device       minor 101;
>             disk         /dev/drbdpool/vm-100-disk-1_00;
>             meta-disk    internal;
>         }
>         address          ipv4 192.168.113.1:7001;
>     }
>     connection-mesh {
>         hosts node02 node03 node01;
>     }
>     net {
>         allow-two-primaries yes;
>         shared-secret    "moxL2b+nErKykEfUGi2Z";
>         cram-hmac-alg    sha1;
>     }
> }
>
> # resource vm-101-disk-1 on node02: not ignored, not stacked
> # defined at /var/lib/drbd.d/drbdmanage_vm-101-disk-1.res:2
> resource vm-101-disk-1 {
>     template-file /var/lib/drbd.d/drbdmanage_global_common.conf;
>     on node02 {
>         node-id 0;
>         volume 0 {
>             disk {
>                 size     209715200k;
>             }
>             device       minor 102;
>             disk         /dev/drbdpool/vm-101-disk-1_00;
>             meta-disk    internal;
>         }
>         address          ipv4 192.168.113.2:7002;
>     }
>     on node03 {
>         node-id 1;
>         volume 0 {
>             disk {
>                 size     209715200k;
>             }
>             device       minor 102;
>             disk         /dev/drbdpool/vm-101-disk-1_00;
>             meta-disk    internal;
>         }
>         address          ipv4 192.168.113.3:7002;
>     }
>     on node01 {
>         node-id 2;
>         volume 0 {
>             disk {
>                 size     209715200k;
>             }
>             device       minor 102;
>             disk         /dev/drbdpool/vm-101-disk-1_00;
>             meta-disk    internal;
>         }
>         address          ipv4 192.168.113.1:7002;
>     }
>     connection-mesh {
>         hosts node02 node03 node01;
>     }
>
>     net {
>         max-epoch-size   8000;
>         max-buffers      8000;
>         shared-secret    Y5g0NB8QKFcs1R5p7XAA;
>         allow-two-primaries yes;
>         sndbuf-size        0;
>         cram-hmac-alg    sha1;
>     }
> }
>
> # resource vm-102-disk-1 on node02: not ignored, not stacked
> # defined at /var/lib/drbd.d/drbdmanage_vm-102-disk-1.res:2
> resource vm-102-disk-1 {
>     template-file /var/lib/drbd.d/drbdmanage_global_common.conf;
>     on node02 {
>         node-id 1;
>         volume 0 {
>             disk {
>                 size     209715200k;
>             }
>             device       minor 103;
>             disk         /dev/drbdpool/vm-102-disk-1_00;
>             meta-disk    internal;
>         }
>         address          ipv4 192.168.113.2:7003;
>     }
>     on node03 {
>         node-id 2;
>         volume 0 {
>             disk {
>                 size     209715200k;
>             }
>             device       minor 103;
>             disk         /dev/drbdpool/vm-102-disk-1_00;
>             meta-disk    internal;
>         }
>         address          ipv4 192.168.113.3:7003;
>     }
>     on node01 {
>         node-id 0;
>         volume 0 {
>             disk {
>                 size     209715200k;
>             }
>             device       minor 103;
>             disk         /dev/drbdpool/vm-102-disk-1_00;
>             meta-disk    internal;
>         }
>         address          ipv4 192.168.113.1:7003;
>     }
>     connection-mesh {
>         hosts node02 node03 node01;
>     }
>     net {
>         max-epoch-size   8000;
>         max-buffers      8000;
>         shared-secret    3cg6JmVPwecGfAC5Ugtw;
>         allow-two-primaries yes;
>         sndbuf-size        0;
>         cram-hmac-alg    sha1;
>     }
> }
>
> # resource vm-103-disk-1 on node02: not ignored, not stacked
> # defined at /var/lib/drbd.d/drbdmanage_vm-103-disk-1.res:1
> resource vm-103-disk-1 {
>     template-file /var/lib/drbd.d/drbdmanage_global_common.conf;
>     on node02 {
>         node-id 1;
>         volume 0 {
>             disk {
>                 size     209715200k;
>             }
>             device       minor 104;
>             disk         /dev/drbdpool/vm-103-disk-1_00;
>             meta-disk    internal;
>         }
>         address          ipv4 192.168.113.2:7004;
>     }
>     on node03 {
>         node-id 2;
>         volume 0 {
>             disk {
>                 size     209715200k;
>             }
>             device       minor 104;
>             disk         /dev/null;
>             meta-disk    internal;
>         }
>         address          ipv4 192.168.113.3:7004;
>     }
>     on node01 {
>         node-id 0;
>         volume 0 {
>             disk {
>                 size     209715200k;
>             }
>             device       minor 104;
>             disk         /dev/drbdpool/vm-103-disk-1_00;
>             meta-disk    internal;
>         }
>         address          ipv4 192.168.113.1:7004;
>     }
>     connection-mesh {
>         hosts node02 node03 node01;
>     }
>     net {
>         allow-two-primaries yes;
>         shared-secret    "E+pEB8JdmKeHiS55CQmy";
>         cram-hmac-alg    sha1;
>     }
> }
>
> # resource vm-104-disk-1 on node02: not ignored, not stacked
> # defined at /var/lib/drbd.d/drbdmanage_vm-104-disk-1.res:1
> resource vm-104-disk-1 {
>     template-file /var/lib/drbd.d/drbdmanage_global_common.conf;
>     on node02 {
>         node-id 1;
>         volume 0 {
>             disk {
>                 size     31457280k;
>             }
>             device       minor 105;
>             disk         /dev/drbdpool/vm-104-disk-1_00;
>             meta-disk    internal;
>         }
>         address          ipv4 192.168.113.2:7005;
>     }
>     on node03 {
>         node-id 2;
>         volume 0 {
>             disk {
>                 size     31457280k;
>             }
>             device       minor 105;
>             disk         /dev/null;
>             meta-disk    internal;
>         }
>         address          ipv4 192.168.113.3:7005;
>     }
>     on node01 {
>         node-id 0;
>         volume 0 {
>             disk {
>                 size     31457280k;
>             }
>             device       minor 105;
>             disk         /dev/drbdpool/vm-104-disk-1_00;
>             meta-disk    internal;
>         }
>         address          ipv4 192.168.113.1:7005;
>     }
>     connection-mesh {
>         hosts node02 node03 node01;
>     }
>     net {
>         allow-two-primaries yes;
>         shared-secret    4JsX2KiotwUVqJTVI6G4;
>         cram-hmac-alg    sha1;
>     }
> }
>
> # resource vm-105-disk-1 on node02: not ignored, not stacked
> # defined at /var/lib/drbd.d/drbdmanage_vm-105-disk-1.res:1
> resource vm-105-disk-1 {
>     template-file /var/lib/drbd.d/drbdmanage_global_common.conf;
>     on node02 {
>         node-id 1;
>         volume 0 {
>             disk {
>                 size     52428800k;
>             }
>             device       minor 106;
>             disk         /dev/drbdpool/vm-105-disk-1_00;
>             meta-disk    internal;
>         }
>         address          ipv4 192.168.113.2:7006;
>     }
>     on node03 {
>         node-id 2;
>         volume 0 {
>             disk {
>                 size     52428800k;
>             }
>             device       minor 106;
>             disk         /dev/null;
>             meta-disk    internal;
>         }
>         address          ipv4 192.168.113.3:7006;
>     }
>     on node01 {
>         node-id 0;
>         volume 0 {
>             disk {
>                 size     52428800k;
>             }
>             device       minor 106;
>             disk         /dev/drbdpool/vm-105-disk-1_00;
>             meta-disk    internal;
>         }
>         address          ipv4 192.168.113.1:7006;
>     }
>     connection-mesh {
>         hosts node02 node03 node01;
>     }
>     net {
>         allow-two-primaries yes;
>         shared-secret    "1+gJSkv3WTAlbOKfChwC";
>         cram-hmac-alg    sha1;
>     }
> }
>
> # resource vm-106-disk-1 on node02: not ignored, not stacked
> # defined at /var/lib/drbd.d/drbdmanage_vm-106-disk-1.res:1
> resource vm-106-disk-1 {
>     template-file /var/lib/drbd.d/drbdmanage_global_common.conf;
>     on node02 {
>         node-id 1;
>         volume 0 {
>             disk {
>                 size     57671680k;
>             }
>             device       minor 100;
>             disk         /dev/drbdpool/vm-106-disk-1_00;
>             meta-disk    internal;
>         }
>         address          ipv4 192.168.113.2:7000;
>     }
>     on node03 {
>         node-id 2;
>         volume 0 {
>             disk {
>                 size     57671680k;
>             }
>             device       minor 100;
>             disk         /dev/null;
>             meta-disk    internal;
>         }
>         address          ipv4 192.168.113.3:7000;
>     }
>     on node01 {
>         node-id 0;
>         volume 0 {
>             disk {
>                 size     57671680k;
>             }
>             device       minor 100;
>             disk         /dev/drbdpool/vm-106-disk-1_00;
>             meta-disk    internal;
>         }
>         address          ipv4 192.168.113.1:7000;
>     }
>     connection-mesh {
>         hosts node02 node03 node01;
>     }
>     net {
>         allow-two-primaries yes;
>         shared-secret    "uaj0jC+ehtONe8uFJ6dr";
>         cram-hmac-alg    sha1;
>     }
> }
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20160424/c0f17ad9/attachment.htm>


More information about the drbd-user mailing list