Dear Sirs,<br><br>I've installed drbd 8.4 and I use it with Linux 3.0.3. Recently I faced a problem:<br><br>I create configured drbd resource 'prox' with two volumes. (prox/0 and prox/1)<br>It starts and works well.<br>
But each time I forget to run 'drbdadm secondary prox' before 'drbdadm down prox'<br>I can't connect nodes until I do full resync with 'drbdadm invalidate prox'.<br><br>In my opinion, it is becaouse of a bug in tools. I found that when I run:<br>
drbdadm connect --discard-my-data prox<br>on victim node, the action is applied only to the first volume! See dmesg:<br><br>[28298.548846] d-con prox: conn( StandAlone -> Unconnected )<br>[28298.548857] d-con prox: Starting receiver thread (from drbd_w_prox [29820])<br>
[28298.548894] d-con prox: receiver (re)started<br>[28298.548901] d-con prox: conn( Unconnected -> WFConnection )<br>[28299.048785] d-con prox: Handshake successful: Agreed network protocol version 100<br>[28299.048806] d-con prox: conn( WFConnection -> WFReportParams )<br>
[28299.048841] d-con prox: Starting asender thread (from drbd_r_prox [30149])<br>[28299.057334] block drbd0: drbd_sync_handshake:<br>[28299.057340] block drbd0: self 7F4E079DAEAA9BC4:DA80358BFA522EC4:0001000000000004:0000000000000004 bits:0 flags:0<br>
[28299.057344] block drbd0: peer B3A9337BA1B046A6:DA80358BFA522EC4:0001000000000004:0000000000000004 bits:0 flags:0<br>[28299.057348] block drbd0: uuid_compare()=100 by rule 90<br>[28299.057352] block drbd0: helper command: /sbin/drbdadm initial-split-brain minor-0<br>
[28299.058183] block drbd0: helper command: /sbin/drbdadm initial-split-brain minor-0 exit code 0 (0x0)<br>[28299.058192] block drbd0: Split-Brain detected, manually solved. Sync from peer node<br>[28299.058195]
block drbd0: peer( Unknown -> Secondary ) conn( WFReportParams ->
WFBitMapT ) pdsk( DUnknown -> UpToDate )<br>
[28299.097332] block drbd1: drbd_sync_handshake:<br>[28299.097337] block drbd1: self 063044FA0D406C66:6FFD6C9E8733A59C:0001000000000004:0000000000000004 bits:0 flags:0<br>[28299.097342] block drbd1: peer FB4496E6DCEFC142:6FFD6C9E8733A59C:0001000000000004:0000000000000004 bits:0 flags:0<br>
[28299.097346] block drbd1: uuid_compare()=100 by rule 90<br>[28299.097350] block drbd1: helper command: /sbin/drbdadm initial-split-brain minor-1<br>[28299.098171] block drbd1: helper command: /sbin/drbdadm initial-split-brain minor-1 exit code 0 (0x0)<br>
[28299.098179] block drbd1: Split-Brain detected but unresolved, dropping connection!<br>[28299.098391] block drbd1: helper command: /sbin/drbdadm split-brain minor-1<br>[28299.099117] block drbd1: helper command: /sbin/drbdadm split-brain minor-1 exit code 0 (0x0)<br>
[28299.099125] block drbd0: peer( Secondary -> Unknown ) conn(
WFBitMapT -> Disconnecting ) pdsk( UpToDate -> DUnknown )<br>[28299.099129] block drbd1: conn( WFReportParams -> Disconnecting )<br>[28299.099131] d-con prox: error receiving ReportState, e: -5 l: 0!<br>
[28299.099136] d-con prox: asender terminated<br>[28299.099138] d-con prox: Terminating asender thread<br>[28299.108961] block drbd0: bitmap WRITE of 0 pages took 0 jiffies<br>[28299.109094] block drbd0: 0 KB (0 bits) marked out-of-sync by on disk bit-map.<br>
[28299.109163] d-con prox: Connection closed<br>[28299.109169] d-con prox: conn( Disconnecting -> StandAlone )<br>[28299.109171] d-con prox: receiver terminated<br>[28299.109172] d-con prox: Terminating receiver thread<br>
<br>The as your can see difference between volumes is:<br> drbd0: Split-Brain detected, manually solved. Sync from peer node<br> drbd1: Split-Brain detected but unresolved, dropping connection!<br><br><br>Could you advice me please what to do next?<br>
<br><br>Yours faithfully,<br>Albert Akchurin<br>