[DRBD-user] ds:Outdated/DUnknown after upgrade from 0.7 to 8.3.7

Ralf Gross Ralf-Lists at ralfgross.de
Fri Jul 16 09:36:57 CEST 2010

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


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

I had to change a few lines in the old 0.7 drbd.conf file.

- add a handlers section (c&p from the example conf file)
- comment out incon-degr-cmd

 handlers {
           pri-on-incon-degr "/usr/lib/drbd/notify-pri-on-incon-degr.sh; /usr/lib/drbd/notify-emergency-reboot.sh; echo b > /proc/sysrq-trigger ; reboot -f";
           # old! incon-degr-cmd "echo'!DRBD! pri on icon-degr' | wall; sleep 60; halt -f";
           pri-lost-after-sb "/usr/lib/drbd/notify-pri-lost-after-sb.sh; /usr/lib/drbd/notify-emergency-reboot.sh; echo b > /proc/sysrq-trigger ; reboot -f";
           local-io-error "/usr/lib/drbd/notify-io-error.sh; /usr/lib/drbd/notify-emergency-shutdown.sh; echo o > /proc/sysrq-trigger ; halt -f";
           # fence-peer "/usr/lib/drbd/crm-fence-peer.sh";
           # split-brain "/usr/lib/drbd/notify-split-brain.sh root";
           # out-of-sync "/usr/lib/drbd/notify-out-of-sync.sh root";
           # before-resync-target "/usr/lib/drbd/snapshot-resync-target-lvm.sh -p 15 -- -c 16k";
           # after-resync-target /usr/lib/drbd/unsnapshot-resync-target-lvm.sh;
        }

- remove the group keyword
- remove "on-disconnect reconnect;" in the net section (still don't know what's
the equivalent for this is 8.7.3)


Then I did a "drbdadm create-md resourcename" for all resources (r0 - r3).
drbdadm told me that there is some old meta data and if I want to convert it.

Now errors during this step.

modprobe drbd

drbdadm up al

first node 

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

second node

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



part of the log file

Jul 16 09:31:33 VU0EM003-MIG kernel: [ 3789.836633] block drbd1: Handshake successful: Agreed network protocol version 91
Jul 16 09:31:33 VU0EM003-MIG kernel: [ 3789.837214] block drbd1: conn( WFConnection -> WFReportParams ) 
Jul 16 09:31:33 VU0EM003-MIG kernel: [ 3789.837464] block drbd1: Starting asender thread (from drbd1_receiver [9836])
Jul 16 09:31:33 VU0EM003-MIG kernel: [ 3789.837921] block drbd1: data-integrity-alg: <not-used>
Jul 16 09:31:33 VU0EM003-MIG kernel: [ 3789.838658] block drbd1: drbd_sync_handshake:
Jul 16 09:31:33 VU0EM003-MIG kernel: [ 3789.838865] block drbd1: self 000500010026BABE:0000000000000000:000500010025BABE:000500010024BABE bits:0 flags:0
Jul 16 09:31:33 VU0EM003-MIG kernel: [ 3789.839301] block drbd1: peer 000500010022BABE:0000000000000000:000500010021BABE:000500010020BABE bits:0 flags:0
Jul 16 09:31:33 VU0EM003-MIG kernel: [ 3789.840976] block drbd1: uuid_compare()=-1000 by rule 100
Jul 16 09:31:33 VU0EM003-MIG kernel: [ 3789.841421] block drbd1: conn( WFReportParams -> Disconnecting ) 
Jul 16 09:31:33 VU0EM003-MIG kernel: [ 3789.846835] block drbd1: asender terminated
Jul 16 09:31:33 VU0EM003-MIG kernel: [ 3789.847039] block drbd1: Terminating asender thread
Jul 16 09:31:33 VU0EM003-MIG kernel: [ 3789.848037] block drbd1: Connection closed
Jul 16 09:31:33 VU0EM003-MIG kernel: [ 3789.848243] block drbd1: conn( Disconnecting -> StandAlone ) 
Jul 16 09:31:33 VU0EM003-MIG kernel: [ 3789.848478] block drbd1: receiver terminated
Jul 16 09:31:33 VU0EM003-MIG kernel: [ 3789.850538] block drbd1: Terminating receiver thread
Jul 16 09:31:33 VU0EM003-MIG kernel: [ 3789.870546] block drbd2: Handshake successful: Agreed network protocol version 91
Jul 16 09:31:33 VU0EM003-MIG kernel: [ 3789.871628] block drbd2: conn( WFConnection -> WFReportParams ) 
[...]


full log of node 1

http://pastebin.org/398974


Any idea what is, or was going wrong during update?

Ralf






More information about the drbd-user mailing list