Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On Sat, Sep 23, 2017 at 11:32:42PM -0400, Digimer wrote: > I tried updating an 8.3.19 DRBD install (on EL6.9), and when I tried to 8.3.16 is the latest I know... typo I assume. > connect the updated node to the older node, I got this error: > > ==[ old node ]== > Sep 23 23:13:47 an-a02n02 kernel: block drbd0: Handshake successful: Agreed network protocol version 97 > Sep 23 23:13:47 an-a02n02 kernel: block drbd0: conn( WFConnection -> WFReportParams ) > Sep 23 23:13:47 an-a02n02 kernel: block drbd0: Starting asender thread (from drbd0_receiver [12308]) > Sep 23 23:13:47 an-a02n02 kernel: block drbd0: incompatible after-sb-0pri settings > Sep 23 23:13:47 an-a02n02 kernel: block drbd0: conn( WFReportParams -> Disconnecting ) > Sep 23 23:13:47 an-a02n02 kernel: block drbd0: error receiving ReportProtocol, l: 25! > Sep 23 23:13:47 an-a02n02 kernel: block drbd1: Handshake successful: Agreed network protocol version 97 > Sep 23 23:13:47 an-a02n02 kernel: block drbd1: conn( WFConnection -> WFReportParams ) > Sep 23 23:13:47 an-a02n02 kernel: block drbd1: Starting asender thread (from drbd1_receiver [7326]) > Sep 23 23:13:47 an-a02n02 kernel: block drbd1: incompatible after-sb-0pri settings You have incompatible "after-sb-0pri" settings. > ==[ updated node ]== > Sep 23 23:13:47 an-a02n01 kernel: drbd r0: incompatible after-sb-0pri settings > ==================== > > The config is (from 'drbdadm dump'): > > ==== > # /etc/drbd.conf > common { > protocol C; > net { > allow-two-primaries; > after-sb-0pri discard-zero-changes; So it claims it does not like this setting, respectively that the handshake expected that setting to be identical on both nodes, but it was not. > ==== > > I downgraded the node back to 8.3.16 and tried to reconnect; > > ==== > Starting DRBD resources: [ > r0 > no suitable meta data found :( > Command '/sbin/drbdmeta 0 v08 /dev/sda5 internal check-resize' > terminated with exit code 255 > drbdadm check-resize r0: exited with code 255 > d(r0) 0: Failure: (119) No valid meta-data signature found. DRBD 8.4 and 8.3 have slightly different meta data "magics". If you want to step back, you need to "convert" the 8.4 back to the 8.3 magic, using the 8.4 compatible drbdmeta tool, because, well, unsurprisingly the 8.3 drbdmeta tool does not know the 8.4 magics. So if you intend to downgrade to 8.3 from 8.4, while you still have the 8.4 tools installed, do: "drbdadm down all; drbdadm apply-al all" Only then downgrade. -- : Lars Ellenberg : LINBIT | Keeping the Digital World Running : DRBD -- Heartbeat -- Corosync -- Pacemaker DRBD® and LINBIT® are registered trademarks of LINBIT __ please don't Cc me, but send to list -- I'm subscribed