[DRBD-user] drbd out of sync, but why doesn't drbd fix it?

Harald Dunkel harald.dunkel at aixigo.com
Wed Mar 9 15:32:38 CET 2022


Hi folks,

drbd in Primary/Secondary mode, using drbd 8.4.10 on Debian 10:

I had a problem with a RAID controller; all disks became unavailable.
Drbd took over giving the node access to the disks on the other node
via network. Amazing. I took down the containers running on the affec-
ted host, made the other host primary and started the containers on
the "good" node.

Now the RAID controller has been replaced, but after running a verify
/proc/drbd shows me that the hosts are not in sync:

# cat /proc/drbd
version: 8.4.10 (api:1/proto:86-101)
srcversion: 473968AD625BA317874A57E

  1: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r-----
     ns:0 nr:92520660 dw:92520660 dr:663924532 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:732
  2: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r-----
     ns:0 nr:5103000 dw:5103000 dr:663924532 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:1036

How comes that the secondary doesn't pick up the data from the primary
automagically? Using policy C it is obvious the the unaffected host got
all the data.


Regards

Harri


More information about the drbd-user mailing list