[DRBD-user] DRBD re-point

Mark Olliver mark at thermeon.com
Wed Feb 18 13:37:41 CET 2009

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


Hi,

I am having problems with a new/old DRBD setup, the primary box is an  
old live box to which i am repointing the DRBD to a new target. I have  
changed the drbd.conf and done a drbdadm adjust and all seemed to go  
ok, however i am getting the following error in the logs and the two  
devices are not connecting. Any ideas /help would be very welcome.

Regards

Mark


Box 1 Primary
DRBD Version: 8.2.6 (api:88)

resource therm1 {
   on eu-box2.xx.com { device /dev/drbd2; disk /dev/sda7; address  
x.x.x.x:7790; meta-disk internal; }
   on eu-box10.xx.com { device /dev/drbd2; disk /dev/sda8; address  
x.x.x.x:7790; meta-disk internal; }
}

Errors
Feb 18 10:37:32 eu-box2 kernel: drbd2: conn( BrokenPipe -> Unconnected )
Feb 18 10:37:32 eu-box2 kernel: drbd2: conn( Unconnected ->  
WFConnection )
Feb 18 10:37:41 eu-box2 kernel: drbd2: sock_recvmsg returned -11
Feb 18 10:37:41 eu-box2 kernel: drbd2: conn( WFConnection ->  
BrokenPipe )
Feb 18 10:37:41 eu-box2 kernel: drbd2: short read expecting header on  
sock: r=-11
Feb 18 10:37:41 eu-box2 kernel: drbd2: tl_clear()
Feb 18 10:37:41 eu-box2 kernel: drbd2: Connection closed

cat /proc/drbd
  2: cs:WFConnection st:Primary/Unknown ds:UpToDate/DUnknown A r---
     ns:0 nr:0 dw:402431860 dr:338691309 al:143825 bm:1143 lo:0 pe:0  
ua:0 ap:0
	resync: used:0/61 hits:0 misses:0 starving:0 dirty:0 changed:0
	act_log: used:0/127 hits:100464140 misses:144645 starving:8 dirty:814  
changed:143825


Box2 Secondary
DRBD Version: 8.3.0 (api:88)

resource therm1 {
   on eu-box2.xx.com { device /dev/drbd2; disk /dev/sda7; address  
x.x.x.x:7790; meta-disk internal; }
   on eu-box10.xx.com { device /dev/drbd2; disk /dev/sda8; address  
x.x.x.x:7790; meta-disk internal; }
}

cat /proc/drbd
  2: cs:WFConnection ro:Secondary/Unknown ds:Inconsistent/DUnknown 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:b oos: 
41944360

Errors
Feb 18 10:36:51 eu-box10 kernel: drbd2: conn( BrokenPipe ->  
Unconnected )
Feb 18 10:36:51 eu-box10 kernel: drbd2: receiver terminated
Feb 18 10:36:51 eu-box10 kernel: drbd2: Restarting receiver thread
Feb 18 10:36:51 eu-box10 kernel: drbd2: receiver (re)started
Feb 18 10:36:51 eu-box10 kernel: drbd2: conn( Unconnected ->  
WFConnection )
Feb 18 10:37:11 eu-box10 kernel: drbd2: Handshake successful: Agreed  
network protocol version 86
Feb 18 10:37:11 eu-box10 kernel: drbd2: conn( WFConnection ->  
WFReportParams )
Feb 18 10:37:11 eu-box10 kernel: drbd2: Starting asender thread (from  
drbd2_receiver [17244])
Feb 18 10:37:11 eu-box10 kernel: drbd2: sock was shut down by peer
Feb 18 10:37:11 eu-box10 kernel: drbd2: conn( WFReportParams ->  
BrokenPipe )
Feb 18 10:37:11 eu-box10 kernel: drbd2: short read expecting header on  
sock: r=0
Feb 18 10:37:11 eu-box10 kernel: drbd2: asender terminated
Feb 18 10:37:11 eu-box10 kernel: drbd2: Terminating asender thread
Feb 18 10:37:11 eu-box10 kernel: drbd2: Connection closed



Mark Olliver BSc (Hons) MBCS CITP FCNSA,
Thermeon (Systems Admin)
Russ Hill Farm, Russ Hill, Charlwood, Surrey, RH6 0EL, UK
E. mark at thermeon.com
M. +44 79 20 062 647




More information about the drbd-user mailing list