[DRBD-user] DRBD 0.7.22 upgrade

Terry Hull tah at nrg-inc.com
Sun Mar 29 06:21:51 CEST 2009

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


I'm trying to get from version 0.7.22 to 8.3.0.  I have live data on the
0.7.22 machine. The first time I tried to connect 8.3 to the old data, I got
a protocol mismatch error with versions of the protocol which did not
overlap.  I went down to 8.2.7.  I no longer got the protocol error log
entry, but the primary went from WFConnection to Standalone almost
immediately.  I then downgraded the new machine to 8.0.1 with the same
results.  
If it matters, the 0.7.22 machine has not been connected since it started.

Here are the dmesg entries for both:

Current primary 0.7.22
rbd0: drbdsetup [17469]: cstate StandAlone --> Unconnected
drbd0: drbd0_receiver [17470]: cstate Unconnected --> WFConnection
drbd0: drbd0_receiver [17470]: cstate WFConnection --> WFReportParams
drbd0: expected HandShake packet, received: Unknown (0xfff2)
drbd0: worker terminated
drbd0: drbd0_receiver [17470]: cstate WFReportParams --> Unconnected
drbd0: Connection lost.
drbd0: Discarding network configuration.
drbd0: drbd0_receiver [17470]: cstate Unconnected --> StandAloneIni
drbd0: receiver terminated


Current new machine 8.0.16 - Trying to get it to secondary
drbd0: No usable activity log found.
drbd0: max_segment_size ( = BIO size ) = 32768
drbd0: drbd_bm_resize called with capacity == 6621093750
drbd0: resync bitmap: bits=827636719 words=12931824
drbd0: size = 3157 GB (3310546875 KB)
drbd0: recounting of set bits took additional 101 jiffies
drbd0: 3157 GB (827636719 bits) marked out-of-sync by on disk bit-map.
drbd0: disk( Attaching -> Inconsistent )
drbd0: conn( StandAlone -> Unconnected )
drbd0: Starting receiver thread (from drbd0_worker [12524])
drbd0: receiver (re)started
drbd0: conn( Unconnected -> WFConnection )

I am getting here by doing the following:
Installing DRBD on new machine
Creating the meta data on the new machine
Starting DRBD on the secondary (it begins waiting for a peer)
Going to the primary and doing a drbdadm connect all

--
Terry Hull
Network Resource Group, Inc.





-- 
Terry Hull
Network Resource Group, Inc. President


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20090328/fe1ba812/attachment.htm>


More information about the drbd-user mailing list