All:<div><br></div><div>Wanted to change the name of the drbd resource to better reflect its functional use.</div><div><br></div><div>In test, Tried changing the file and resource name on the secondary side, adjusting and re-connecting. And other slightly different steps, to see what can work.</div>
<div><br></div><div>The results are that when re-connecting after changing the file name - the primary side seems to think that the device is out of sync and becomes the sync source but the secondary side will have none of it and goes it 'WFConnection' state.</div>
<div><br></div><div>Find below the log extract when the secondary side is connected after the resource is renamed. ( From the log it seems that it does become the sync target and actually syncs, but does not like something).</div>
<div><br></div><div>Is there a known sequence of steps that can work in this case ? Need I experiment any further ? What else can I try ?</div><div><br></div><div>-JA</div><div><br></div><div><div>block drbd0: conn( StandAlone -> Unconnected )</div>
<div>block drbd0: Starting receiver thread (from drbd0_worker [32028])</div><div>block drbd0: receiver (re)started</div><div>block drbd0: conn( Unconnected -> WFConnection )</div><div>block drbd0: Handshake successful: Agreed network protocol version 96</div>
<div>block drbd0: Peer authenticated using 16 bytes of 'md5' HMAC</div><div>block drbd0: conn( WFConnection -> WFReportParams )</div><div>block drbd0: Starting asender thread (from drbd0_receiver [14379])</div>
<div>block drbd0: data-integrity-alg: md5</div><div>block drbd0: drbd_sync_handshake:</div><div>block drbd0: self A3DA23FAA568B544:0000000000000000:CC820BAF75D3008A:CC810BAF75D3008B bits:0 flags:0</div><div>block drbd0: peer 518B27BC03329A91:A3DB23FAA568B545:A3DA23FAA568B545:CC820BAF75D3008B bits:721870 flags:0</div>
<div>block drbd0: Did not got last syncUUID packet, corrected:</div><div>block drbd0: peer 518B27BC03329A91:A3DA23FAA568B545:CC820BAF75D3008B:CC820BAF75D3008B bits:721870 flags:0</div><div>block drbd0: uuid_compare()=-1 by rule 51</div>
<div>block drbd0: peer( Unknown -> Primary ) conn( WFReportParams -> WFBitMapT ) disk( UpToDate -> Outdated ) pdsk( DUnknown -> UpToDate )</div><div>block drbd0: receive bitmap stats [Bytes(packets)]: plain 0(0), RLE 239(1), total 239; compression: 99.9%</div>
<div>block drbd0: send bitmap stats [Bytes(packets)]: plain 0(0), RLE 239(1), total 239; compression: 99.9%</div><div>block drbd0: conn( WFBitMapT -> WFSyncUUID )</div><div>block drbd0: updated sync uuid A3DB23FAA568B544:0000000000000000:CC820BAF75D3008A:CC810BAF75D3008B</div>
<div>block drbd0: helper command: /sbin/drbdadm before-resync-target minor-0</div><div>block drbd0: helper command: /sbin/drbdadm before-resync-target minor-0 exit code 0 (0x0)</div><div>block drbd0: conn( WFSyncUUID -> SyncTarget ) disk( Outdated -> Inconsistent )</div>
<div>block drbd0: Began resync as SyncTarget (will sync 2887480 KB [721870 bits set]).</div><div>block drbd0: Resync done (total 9 sec; paused 0 sec; 320828 K/sec)</div><div>block drbd0: 100 % had equal check sums, eliminated: 2887480K; transferred 0K total 2887480K</div>
<div>block drbd0: updated UUIDs 518B27BC03329A90:0000000000000000:A3DB23FAA568B544:A3DA23FAA568B545</div><div>block drbd0: conn( SyncTarget -> Connected ) disk( Inconsistent -> UpToDate )</div><div>block drbd0: helper command: /sbin/drbdadm after-resync-target minor-0</div>
<div>block drbd0: helper command: /sbin/drbdadm after-resync-target minor-0 exit code 0 (0x0)</div><div>block drbd0: bitmap WRITE of 0 pages took 0 jiffies</div><div>block drbd0: 0 KB (0 bits) marked out-of-sync by on disk bit-map.</div>
<div>block drbd0: peer( Primary -> Unknown ) conn( Connected -> TearDown ) pdsk( UpToDate -> DUnknown )</div><div>block drbd0: asender terminated</div><div>block drbd0: Terminating asender thread</div><div>block drbd0: Connection closed</div>
<div>block drbd0: conn( TearDown -> Unconnected )</div><div>block drbd0: receiver terminated</div><div>block drbd0: Restarting receiver thread</div><div>block drbd0: receiver (re)started</div><div>block drbd0: conn( Unconnected -> WFConnection )</div>
<div>block drbd0: conn( WFConnection -> Disconnecting )</div><div>block drbd0: Discarding network configuration.</div><div>block drbd0: Connection closed</div><div>block drbd0: conn( Disconnecting -> StandAlone )</div>
<div>block drbd0: receiver terminated</div><div>block drbd0: Terminating receiver thread</div><div>block drbd0: conn( StandAlone -> Unconnected )</div><div>block drbd0: Starting receiver thread (from drbd0_worker [32028])</div>
<div>block drbd0: receiver (re)started</div><div>block drbd0: conn( Unconnected -> WFConnection )</div><div><br></div><div><br></div></div><div><br></div><div><br></div>