[DRBD-user] DRBD inplace 0.7.6 ->0.7.10 upgrade problem

Rob robs_ha_email at yahoo.com
Wed Apr 20 21:02:22 CEST 2005

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


I have a two node hearbeat based cluster that was
running drbd 0.7.6, and kernel 2.4.21-20.ELsmp.

I installed an updated kernel from RH (RH EL 3) which
is now 2.4.21-27.0.2.ELsmp and had to recompile drbd
anyway, so I figured I'd upgrade drbd while I was at
it. (I was presuming I could upgrade 0.7.6 to 0.7.10
while the other node kept running 0.7.6)

I built drbd and installed it. The first time I
inserted the module I did it by hand and then did an
init.d/drbd start. It failed because the minor number
limit was at the default of 2 so drbd2 couldn't be
accessed (since it is minor number 3, (or dev 147,2)).
 

I fixed that by starting things the right way, but now
drbd2 never handshakes with the other server.  Only
drbd0 and drbd1.  drbd2 is a 46GB filesystem that has
changed quite a bit over the last hour so I would hate
to have to force the local drbd2 to be primary and
loose the FS changes.

How can I fix this?

Below are the messages entries for drbd after a clean
reboot of the newly compiled drbd system:

[root at xnet2 log]# grep drbd messages | grep 12:47
Apr 20 12:47:44 xnet2 drbd: Starting DRBD resources:  
 
Apr 20 12:47:44 xnet2 kernel: drbd: initialised.
Version: 0.7.10 (api:77/proto:74)
Apr 20 12:47:44 xnet2 kernel: drbd: SVN Revision: 1743
build by root at xnet2, 2005-04-20 12:35:38
Apr 20 12:47:44 xnet2 kernel: drbd: registered as
block device major 147
Apr 20 12:47:44 xnet2 drbd: [ 
Apr 20 12:47:44 xnet2 drbd: d0 
Apr 20 12:47:44 xnet2 kernel: drbd0: resync bitmap:
bits=2411112 words=75348
Apr 20 12:47:44 xnet2 kernel: drbd0: size = 9418 MB
(9644448 KB)
Apr 20 12:47:45 xnet2 kernel: drbd0: 0 KB marked
out-of-sync by on disk bit-map.
Apr 20 12:47:45 xnet2 kernel: drbd0: Found 6
transactions (324 active extents) in activity log.
Apr 20 12:47:45 xnet2 kernel: drbd0: drbdsetup [1719]:
cstate Unconfigured --> StandAlone
Apr 20 12:47:45 xnet2 drbd: d1 
Apr 20 12:47:45 xnet2 kernel: drbd1: resync bitmap:
bits=2411112 words=75348
Apr 20 12:47:45 xnet2 kernel: drbd1: size = 9418 MB
(9644448 KB)
Apr 20 12:47:45 xnet2 kernel: drbd1: 0 KB marked
out-of-sync by on disk bit-map.
Apr 20 12:47:45 xnet2 kernel: drbd1: Found 6
transactions (111 active extents) in activity log.
Apr 20 12:47:45 xnet2 kernel: drbd1: drbdsetup [1723]:
cstate Unconfigured --> StandAlone
Apr 20 12:47:45 xnet2 drbd: d2 
Apr 20 12:47:45 xnet2 kernel: drbd2: resync bitmap:
bits=12176624 words=380520
Apr 20 12:47:45 xnet2 kernel: drbd2: size = 46 GB
(48706496 KB)
Apr 20 12:47:46 xnet2 kernel: drbd2: 1028 MB marked
out-of-sync by on disk bit-map.
Apr 20 12:47:46 xnet2 kernel: drbd2: Found 6
transactions (276 active extents) in activity log.
Apr 20 12:47:46 xnet2 kernel: drbd2: Marked additional
0 KB as out-of-sync based on AL.
Apr 20 12:47:46 xnet2 kernel: drbd2: drbdsetup [1727]:
cstate Unconfigured --> StandAlone
Apr 20 12:47:46 xnet2 drbd: s0 
Apr 20 12:47:46 xnet2 drbd: s1 
Apr 20 12:47:46 xnet2 kernel: drbd0: drbdsetup [1750]:
cstate StandAlone --> Unconnected
Apr 20 12:47:46 xnet2 kernel: drbd0: drbd0_receiver
[1751]: cstate Unconnected --> WFConnection
Apr 20 12:47:46 xnet2 drbd: s2 n0 
Apr 20 12:47:46 xnet2 kernel: drbd1: drbdsetup [1758]:
cstate StandAlone --> Unconnected
Apr 20 12:47:46 xnet2 kernel: drbd1: drbd1_receiver
[1759]: cstate Unconnected --> WFConnection
Apr 20 12:47:46 xnet2 drbd: n1 
Apr 20 12:47:46 xnet2 kernel: drbd2: drbdsetup [1766]:
cstate StandAlone --> Unconnected
Apr 20 12:47:46 xnet2 kernel: drbd2: drbd2_receiver
[1767]: cstate Unconnected --> WFConnection
Apr 20 12:47:46 xnet2 drbd: n2 ].
Apr 20 12:47:47 xnet2 drbd: WARN: stdin/stdout is not
a TTY; using /dev/console
Apr 20 12:47:47 xnet2 kernel: drbd0: drbd0_receiver
[1751]: cstate WFConnection --> WFReportParams
Apr 20 12:47:47 xnet2 kernel: drbd0: Handshake
successful: DRBD Network Protocol version 74
Apr 20 12:47:47 xnet2 kernel: drbd0: Connection
established.
Apr 20 12:47:47 xnet2 kernel: drbd0: I am(S):
1:00000003:00000001:0000001d:00000007:01
Apr 20 12:47:47 xnet2 kernel: drbd0: Peer(P):
1:00000003:00000001:0000001e:00000007:10
Apr 20 12:47:47 xnet2 kernel: drbd0: drbd0_receiver
[1751]: cstate WFReportParams --> WFBitMapT
Apr 20 12:47:47 xnet2 kernel: drbd0: Secondary/Unknown
--> Secondary/Primary
Apr 20 12:47:47 xnet2 kernel: drbd0: drbd0_receiver
[1751]: cstate WFBitMapT --> SyncTarget
Apr 20 12:47:47 xnet2 kernel: drbd0: Resync started as
SyncTarget (need to sync 0 KB [0 bits set]).
Apr 20 12:47:47 xnet2 kernel: drbd0: Resync done
(total 1 sec; paused 0 sec; 0 K/sec)
Apr 20 12:47:47 xnet2 kernel: drbd0: drbd0_receiver
[1751]: cstate SyncTarget --> Connected
Apr 20 12:47:47 xnet2 kernel: drbd1: drbd1_receiver
[1759]: cstate WFConnection --> WFReportParams
Apr 20 12:47:47 xnet2 kernel: drbd1: Handshake
successful: DRBD Network Protocol version 74
Apr 20 12:47:47 xnet2 kernel: drbd1: Connection
established.
Apr 20 12:47:47 xnet2 kernel: drbd1: I am(S):
1:00000002:00000001:00000017:00000001:01
Apr 20 12:47:47 xnet2 kernel: drbd1: Peer(P):
1:00000002:00000001:00000018:00000001:10
Apr 20 12:47:47 xnet2 kernel: drbd1: drbd1_receiver
[1759]: cstate WFReportParams --> WFBitMapT
Apr 20 12:47:47 xnet2 kernel: drbd1: Secondary/Unknown
--> Secondary/Primary
Apr 20 12:47:47 xnet2 kernel: drbd1: drbd1_receiver
[1759]: cstate WFBitMapT --> SyncTarget
Apr 20 12:47:47 xnet2 kernel: drbd1: Resync started as
SyncTarget (need to sync 0 KB [0 bits set]).
Apr 20 12:47:47 xnet2 kernel: drbd1: Resync done
(total 1 sec; paused 0 sec; 0 K/sec)
Apr 20 12:47:47 xnet2 kernel: drbd1: drbd1_receiver
[1759]: cstate SyncTarget --> Connected
[root at xnet2 log]#

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the drbd-user mailing list