Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Ralf Gross schrieb: > Hi, > > followed Florians step by step howto to upgrade our debian etch > cluster to lenny. > > http://fghaas.wordpress.com/2007/10/03/step-by-step-upgrade-from-drbd-07-to-drbd-8/ > > 1. update debian etch to lenny > 2. install the drbd8 lenny-backport packages > 3. follow the steps in the howto > Ok, I reverted the vmware snapshot of both drbd test systems and did all again. Same result. I've no idea where the problem is. The meta data seems to be migrated successfully on both hosts. [secondary] VU0EM005-MIG:/etc/drbd.d$drbdadm create-md r0 md_offset 0 al_offset 4096 bm_offset 36864 Found some data ==> This might destroy existing data! <== Do you want to proceed? [need to type 'yes' to confirm] yes Valid v07 meta-data found, convert to v08? [need to type 'yes' to confirm] yes Converting meta data... Writing meta data... New drbd meta data block successfully created. [secondary] VU0EM005-MIG:/etc/drbd.d$drbdadm create-md r1 md_offset 134217728 al_offset 134221824 bm_offset 134254592 Found some data ==> This might destroy existing data! <== Do you want to proceed? [need to type 'yes' to confirm] yes Valid v07 meta-data found, convert to v08? [need to type 'yes' to confirm] yes Converting meta data... Writing meta data... New drbd meta data block successfully created. [secondary] VU0EM005-MIG:/etc/drbd.d$drbdadm create-md r2 md_offset 268435456 al_offset 268439552 bm_offset 268472320 Found some data ==> This might destroy existing data! <== Do you want to proceed? [need to type 'yes' to confirm] yes Valid v07 meta-data found, convert to v08? [need to type 'yes' to confirm] yes Converting meta data... Writing meta data... New drbd meta data block successfully created. [secondary] VU0EM005-MIG:/etc/drbd.d$drbdadm create-md r3 md_offset 402653184 al_offset 402657280 bm_offset 402690048 Found some data ==> This might destroy existing data! <== Do you want to proceed? [need to type 'yes' to confirm] yes Valid v07 meta-data found, convert to v08? [need to type 'yes' to confirm] yes Converting meta data... Writing meta data... New drbd meta data block successfully created. According to the step by step guide, the drbd state afer "drbdadm up all" should be cs:Connected, st:Secondary/Secondary, and ds:UpToDate/UpToDate modprobe drbd on both server... $cat /proc/drbd version: 8.3.7 (api:88/proto:86-91) GIT-hash: ea9e28dbff98e331a62bcbcc63a6135808fe2917 build by root at buildd, 2010-01-23 08:21:00 $cat /proc/drbd version: 8.3.7 (api:88/proto:86-91) GIT-hash: ea9e28dbff98e331a62bcbcc63a6135808fe2917 build by root at buildd, 2010-01-23 08:21:00 "drbdadm up all" on both server... [primary] VU0EM003-MIG:/etc/drbd.d$cat /proc/drbd version: 8.3.7 (api:88/proto:86-91) GIT-hash: ea9e28dbff98e331a62bcbcc63a6135808fe2917 build by root at buildd, 2010-01-23 08:21:00 0: cs:StandAlone ro:Secondary/Unknown ds:Outdated/DUnknown 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:0 1: cs:StandAlone ro:Secondary/Unknown ds:Outdated/DUnknown 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:0 2: cs:StandAlone ro:Secondary/Unknown ds:Outdated/DUnknown 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:4 3: cs:StandAlone ro:Secondary/Unknown ds:Outdated/DUnknown 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:0 [secondary] VU0EM005-MIG:/etc/drbd.d$cat /proc/drbd version: 8.3.7 (api:88/proto:86-91) GIT-hash: ea9e28dbff98e331a62bcbcc63a6135808fe2917 build by root at buildd, 2010-01-23 08:21:00 0: cs:StandAlone ro:Secondary/Unknown ds:Outdated/DUnknown 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:0 1: cs:StandAlone ro:Secondary/Unknown ds:Outdated/DUnknown 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:0 2: cs:StandAlone ro:Secondary/Unknown ds:Outdated/DUnknown 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:0 3: cs:StandAlone ro:Secondary/Unknown ds:Outdated/DUnknown 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:0 And the log entries for drbd0 on host VU0EM003-MIG... Jul 19 16:13:34 VU0EM003-MIG kernel: [ 4911.746493] block drbd0: conn( StandAlone -> Unconnected ) Jul 19 16:13:34 VU0EM003-MIG kernel: [ 4911.746833] block drbd0: Starting receiver thread (from drbd0_worker [10294]) Jul 19 16:13:34 VU0EM003-MIG kernel: [ 4911.747194] block drbd0: receiver (re)started Jul 19 16:13:34 VU0EM003-MIG kernel: [ 4911.747470] block drbd0: conn( Unconnected -> WFConnection ) Jul 19 16:13:43 VU0EM003-MIG kernel: [ 4920.549064] block drbd0: Handshake successful: Agreed network protocol version 91 Jul 19 16:13:43 VU0EM003-MIG kernel: [ 4920.549598] block drbd0: conn( WFConnection -> WFReportParams ) Jul 19 16:13:43 VU0EM003-MIG kernel: [ 4920.550079] block drbd0: Starting asender thread (from drbd0_receiver [10398]) Jul 19 16:13:43 VU0EM003-MIG kernel: [ 4920.553446] block drbd0: data-integrity-alg: <not-used> Jul 19 16:13:43 VU0EM003-MIG kernel: [ 4920.553974] block drbd0: drbd_sync_handshake: Jul 19 16:13:43 VU0EM003-MIG kernel: [ 4920.554249] block drbd0: self 000500010028BABE:0000000000000000:000500010027BABE:000500010026BABE bits:0 flags:0 Jul 19 16:13:43 VU0EM003-MIG kernel: [ 4920.554942] block drbd0: peer 000500010024BABE:0000000000000000:000500010023BABE:000500010022BABE bits:0 flags:0 Jul 19 16:13:43 VU0EM003-MIG kernel: [ 4920.555882] block drbd0: uuid_compare()=-1000 by rule 100 Jul 19 16:13:43 VU0EM003-MIG kernel: [ 4920.556446] block drbd0: conn( WFReportParams -> Disconnecting ) Jul 19 16:13:43 VU0EM003-MIG kernel: [ 4920.556446] block drbd0: asender terminated Jul 19 16:13:43 VU0EM003-MIG kernel: [ 4920.556446] block drbd0: Terminating asender thread Jul 19 16:13:43 VU0EM003-MIG kernel: [ 4920.557690] block drbd0: Connection closed Jul 19 16:13:43 VU0EM003-MIG kernel: [ 4920.557963] block drbd0: conn( Disconnecting -> StandAlone ) Jul 19 16:13:43 VU0EM003-MIG kernel: [ 4920.558494] block drbd0: receiver terminated Jul 19 16:13:43 VU0EM003-MIG kernel: [ 4920.558766] block drbd0: Terminating receiver thread ...and host VU0EM003-MIG Jul 19 16:13:43 VU0EM005-MIG kernel: [ 4932.319909] block drbd0: conn( StandAlone -> Unconnected ) Jul 19 16:13:43 VU0EM005-MIG kernel: [ 4932.320259] block drbd0: Starting receiver thread (from drbd0_worker [6403]) Jul 19 16:13:43 VU0EM005-MIG kernel: [ 4932.320629] block drbd0: receiver (re)started Jul 19 16:13:43 VU0EM005-MIG kernel: [ 4932.320832] block drbd0: conn( Unconnected -> WFConnection ) Jul 19 16:13:43 VU0EM005-MIG kernel: [ 4932.433695] block drbd0: Handshake successful: Agreed network protocol version 91 Jul 19 16:13:43 VU0EM005-MIG kernel: [ 4932.434311] block drbd0: conn( WFConnection -> WFReportParams ) Jul 19 16:13:43 VU0EM005-MIG kernel: [ 4932.434765] block drbd0: Starting asender thread (from drbd0_receiver [6505]) Jul 19 16:13:43 VU0EM005-MIG kernel: [ 4932.435171] block drbd0: data-integrity-alg: <not-used> Jul 19 16:13:43 VU0EM005-MIG kernel: [ 4932.437004] block drbd0: drbd_sync_handshake: Jul 19 16:13:43 VU0EM005-MIG kernel: [ 4932.437387] block drbd0: self 000500010024BABE:0000000000000000:000500010023BABE:000500010022BABE bits:0 flags:0 Jul 19 16:13:43 VU0EM005-MIG kernel: [ 4932.438083] block drbd0: peer 000500010028BABE:0000000000000000:000500010027BABE:000500010026BABE bits:0 flags:0 Jul 19 16:13:43 VU0EM005-MIG kernel: [ 4932.438678] block drbd0: uuid_compare()=-1000 by rule 100 Jul 19 16:13:43 VU0EM005-MIG kernel: [ 4932.439262] block drbd0: conn( WFReportParams -> Disconnecting ) Jul 19 16:13:43 VU0EM005-MIG kernel: [ 4932.439895] block drbd0: asender terminated Jul 19 16:13:43 VU0EM005-MIG kernel: [ 4932.440202] block drbd0: Terminating asender thread Jul 19 16:13:43 VU0EM005-MIG kernel: [ 4932.440982] block drbd0: Connection closed Jul 19 16:13:43 VU0EM005-MIG kernel: [ 4932.441256] block drbd0: conn( Disconnecting -> StandAlone ) Jul 19 16:13:43 VU0EM005-MIG kernel: [ 4932.441577] block drbd0: receiver terminated Jul 19 16:13:43 VU0EM005-MIG kernel: [ 4932.441939] block drbd0: Terminating receiver thread I searched for the meaning of "uuid_compare()=-1000 by rule 100" but could not find much info. Any idea/hint what tp look for? Anything related to the config I have to fix while migrating from 0.7 to 8.3.7? Ralf