[DRBD-user] drbd-overview

Jasmin J. jasmin at anw.at
Sun Sep 17 14:01:37 CEST 2017

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


Hello!

I had out of sync blocks in my two node DRBD 8 cluster.
So I did the usual command to start the resync:
   drbdadm disconnect <resource>
   drbdadm connect <resource>

This worked as expected for the first smaller resource.
Then I did it for the second bigger one. Here the disconnect stated:
   Command 'drbdsetup-84 disconnect ipv4:10.23.8.227:7789 ipv4:10.23.8.226:7789' did not terminate within 5 seconds
Then the
   drbdsetup status --verbose --statistics
command hung for long time.

This came back and all looked ok.

BUT:
$ drbd-overview 
 0:??not-found??  Connected Primary/Secondary UpToDate/UpToDate 
 1:??not-found??  Connected Primary/Secondary UpToDate/UpToDate 
10:??not-found??  Connected Secondary/Primary UpToDate/UpToDate 
11:??not-found??  Connected Secondary/Primary UpToDate/UpToDate 

What can I now do to get this working again?

Some more info:

Here the output of
 cat /proc/drbd
version: 8.4.9-1clazzes7 (api:1/proto:86-101)
GIT-hash: 9976da086367a2476503ef7f6b13d4567327a280 build by root at hasi, 2016-12-19 23:25:01
 0: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r-----
    ns:7580 nr:0 dw:1238602932 dr:944962846 al:25315 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:d oos:0
 1: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r-----
    ns:0 nr:0 dw:6292452 dr:605680447 al:1326 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:d oos:0

10: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r-----
    ns:0 nr:1264282544 dw:1264282544 dr:608154476 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:d oos:4
11: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r-----
    ns:0 nr:8390136 dw:8390136 dr:473876280 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:d oos:0

$ drbdsetup status --verbose --statistics vm-100-disk-root
vm-100-disk-root role:Primary suspended:no
    write-ordering:drain
  volume:0 minor:0 disk:UpToDate
      size:20970844 read:944967174 written:1238607832 al-writes:25315 bm-writes:0 upper-pending:0
      lower-pending:0 al-suspended:no blocked:no
  peer connection:Connected role:Secondary congested:no
    volume:0 replication:Established peer-disk:UpToDate resync-suspended:no
        received:0 sent:12480 out-of-sync:0 pending:0 unacked:0

$ drbdsetup status --verbose --statistics vm-100-disk-var
vm-100-disk-var role:Primary suspended:no
    write-ordering:drain
  volume:0 minor:1 disk:UpToDate
      size:1310679964 read:605701687 written:6292452 al-writes:1326 bm-writes:0 upper-pending:0
      lower-pending:0 al-suspended:no blocked:no
  peer connection:Connected role:Secondary congested:no
    volume:0 replication:Established peer-disk:UpToDate resync-suspended:no
        received:0 sent:0 out-of-sync:0 pending:0 unacked:0

$ drbdadm --version
DRBDADM_BUILDTAG=GIT-hash:\ ec72a4ef618a2049639bb4f2f49709b0bbf8b111\ build\ by\ debian-ha-maintainers at lists.alioth.debian.org\,\ 2016-10-31\ 23:28:28\ UTC
DRBDADM_API_VERSION=1
DRBD_KERNEL_VERSION_CODE=0x080409
DRBDADM_VERSION_CODE=0x080909
DRBDADM_VERSION=8.9.9

BR,
   Jasmin



More information about the drbd-user mailing list