[DRBD-user] Stacked resource not syncing

Tony den Haan tony at tuxick.net
Fri May 3 13:22:24 CEST 2019


Did some more checking, i see the primary server isn't even trying to
update the stacked resource:

4: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r-----
    ns:37196 nr:0 dw:528 dr:105320 al:4 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1
wo:f oos:0

14: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate A r-----
    ns:0 nr:0 dw:0 dr:31928 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0


so also nothing on the stacked resource:

 4: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate A r-----
    ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0


drbd version:

drbd84-utils-9.6.0-1.el7.elrepo.x86_64
kmod-drbd84-8.4.11-1.1.el7_6.elrepo.x86_64

on CentOS


Config:

resource rwf {
    net {
        verify-alg crc32c;
    }
  on santest-a {
    device    /dev/drbd4;
    disk      /dev/DRBD/rwf;
    address   10.97.1.1:7794;
    meta-disk internal;
  }
  on santest-b {
    device    /dev/drbd4;
    disk      /dev/DRBD/rwf;
    address   10.97.1.2:7794;
    meta-disk internal;
  }
}


resource rwf-U {
    net {
        protocol A;
        verify-alg crc32c;
    }

    stacked-on-top-of rwf {
        device /dev/drbd14;
        address 192.168.100.37:7794;
    }


rwf is managed by pacemaker, acting as iscsi target through which i
update the data.



Tony
    on mirrors {
        device /dev/drbd14;
        disk /dev/backup/rwfU;
        address 192.168.104.17:7794;
        meta-disk internal;


    }

}




More information about the drbd-user mailing list