Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to upgrade a two node cluster, without downtime of the complete drbd node.

One node is already upgraded to ubuntu 12.04 - drbd 8.3.11 - kernel 3.2.0 The other node is running ubuntu 10.04 - drbd 8.3.7, as primary.

They are connect via cross network connection with 1 Gigabit. Before the upgrade to 12.04 the worked. The Disk on the secondayr is new and I have initialized the meta data for drbd.

When I try to connect the secondary node running drbd 8.3.11 to sync to the node running 8.3.7. I get some errors. The sync gets started, but stops.

root@secondary /var/log # cat /proc/drbd 
version: 8.3.11 (api:88/proto:86-96)
srcversion: 71955441799F513ACA6DA60 

1: cs:SyncTarget ro:Secondary/Primary ds:Inconsistent/UpToDate C r-----
   ns:0 nr:32 dw:32 dr:0 al:0 bm:0 lo:0 pe:120 ua:0 ap:0 ep:1 wo:f oos:524281120
    [>....................] sync'ed:  0.1% (511992/511992)Mfinish: 364:05:02 speed: 0 (0) want: 76,800 K/sec

version: 8.3.11 (api:88/proto:86-96)
srcversion: 71955441799F513ACA6DA60 

1: cs:BrokenPipe ro:Secondary/Unknown ds:Inconsistent/DUnknown C r-----
   ns:0 nr:32 dw:32 dr:0 al:0 bm:0 lo:2 pe:120 ua:0 ap:0 ep:1 wo:f oos:524281120

1: cs:NetworkFailure ro:Secondary/Unknown ds:Inconsistent/DUnknown C r-----
   ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:1 pe:0 ua:0 ap:0 ep:1 wo:f oos:524280916

conn( WFBitMapT -> WFSyncUUID ) 
updated sync uuid 4521C444BE77EC04:0000000000000000:0000000000000000:0000000000000000
helper command: /sbin/drbdadm before-resync-target minor-1
helper command: /sbin/drbdadm before-resync-target minor-1 exit code 0 (0x0)
conn( WFSyncUUID -> SyncTarget ) 
Began resync as SyncTarget (will sync 524281096 KB [131070274 bits set]).
sock was shut down by peer
meta connection shut down by peer.
peer( Primary -> Unknown ) conn( SyncTarget -> BrokenPipe ) pdsk( UpToDate -> DUnknown ) 
short read expecting header on sock: r=0
asender terminated
Terminating drbd1_asender
bitmap WRITE of 4000 pages took 53 jiffies
conn( BrokenPipe -> Disconnecting )

on the primary I see this

root@primary / # cat /proc/drbd 
version: 8.3.7 (api:88/proto:86-91)
GIT-hash: ea9e28dbff98e331a62bcbcc63a6135808fe2917 build by root@primary, 2012-06-07 18:53:37

 1: cs:ProtocolError ro:Primary/Unknown ds:UpToDate/Inconsistent C r----
    ns:0 nr:0 dw:3944607 dr:39099983 al:1450 bm:1193 lo:1 pe:0 ua:0 ap:0 ep:1 wo:b oos:524280916
share|improve this question
    
sock was shut down by peer: Looks like the primary forced a disconnect, anything in the logs on the primary? –  mgorven Jun 12 '12 at 7:44
    
I feel your pain, have had the same issue myself. I'm actually giving up on Ubuntu 12.04. And am trying to sync back to a Debian 6 target and see the similar messages. –  Stu Thompson Oct 9 '12 at 6:49
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.