[DRBD-user] reconnect after interface down/up

Martin Gombac martin at isg.si
Tue Jan 8 10:46:51 CET 2008

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


Hi,

is DRBD supposed to reconnect automatically after network comes back up?

I did a test for my network status script and had to ifconfig eth3  
down for one day.
eth3 is used for drbd syncing. After i brought eth3 back up i  
expected for drbd to resync data again without me
doing drbdadm connect all. Was i wrong?

node1:
version: 8.0.8 (api:86/proto:86)
GIT-hash: bd3e2c922f95c4fa0dca57a4f8c24bf8b249cc02 build by  
root at mali, 2008-01-07 13:18:31
  0: cs:WFConnection st:Secondary/Unknown ds:UpToDate/DUnknown C r---
     ns:0 nr:5944 dw:5944 dr:0 al:0 bm:6 lo:0 pe:0 ua:0 ap:0
         resync: used:0/31 hits:56 misses:6 starving:0 dirty:0 changed:6
         act_log: used:0/257 hits:0 misses:0 starving:0 dirty:0  
changed:0
  1: cs:WFConnection st:Primary/Unknown ds:UpToDate/Inconsistent C r---
     ns:11084908 nr:0 dw:333396 dr:11097504 al:0 bm:679 lo:0 pe:0 ua: 
0 ap:0
         resync: used:0/31 hits:691716 misses:692 starving:0 dirty:0  
changed:692
         act_log: used:0/257 hits:83349 misses:0 starving:0 dirty:0  
changed:0

node2:
version: 8.0.8 (api:86/proto:86)
GIT-hash: bd3e2c922f95c4fa0dca57a4f8c24bf8b249cc02 build by  
root at veliki, 2008-01-07 13:18:31
  0: cs:StandAlone st:Primary/Unknown ds:UpToDate/Outdated   r---
     ns:760 nr:0 dw:222956 dr:1544337 al:1221 bm:1215 lo:0 pe:0 ua:0  
ap:0
         resync: used:0/31 hits:56 misses:6 starving:0 dirty:0 changed:6
         act_log: used:0/257 hits:54518 misses:1221 starving:0 dirty: 
0 changed:1221
  1: cs:StandAlone st:Secondary/Unknown ds:Inconsistent/DUnknown   r---
     ns:0 nr:11084700 dw:11084700 dr:0 al:0 bm:679 lo:0 pe:0 ua:0 ap:0
         resync: used:0/31 hits:692426 misses:693 starving:0 dirty:0  
changed:693
         act_log: used:0/257 hits:0 misses:0 starving:0 dirty:0  
changed:0



More information about the drbd-user mailing list