[DRBD-user] Unable to perform initial sync

Dan Barker dbarker at visioncomm.net
Tue Apr 10 20:36:55 CEST 2012

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


I do not understand what you did or are trying to do. In Sync has no
"direction". If you are in sync from Primary to Secondary, you are in  sync
period. There is no reason to think about a direction.

To do a recovery, when one of the resources is to be used as the sync source
due to having more current data, there are commands to do that,
discard-my-data, overwrite-data-of-peer, etc. They have no inherent
direction, but have complimentary meanings depending on which node the
command is run.

Please explain more what you are trying to accomplish, which node is
primary, secondary, which device is considered "current" and the commands
you are issuing and on which host.

Dan

-----Original Message-----
From: drbd-user-bounces at lists.linbit.com
[mailto:drbd-user-bounces at lists.linbit.com] On Behalf Of Vyacheslav
Karpukhin
Sent: Tuesday, April 10, 2012 12:23 PM
To: drbd-user at lists.linbit.com
Subject: [DRBD-user] Unable to perform initial sync

Hi. I just installed drbd and now trying to perform initial sync. It works
fine in one direction, but if I'm trying to perform it in the opposite
direction, I get this:

> Apr 10 11:13:54 web kernel: block drbd0: Becoming sync source due to disk
states.
> Apr 10 11:13:54 web kernel: block drbd0: peer( Unknown -> Secondary )
conn( WFReportParams -> WFBitMapS ) 
> Apr 10 11:13:54 web kernel: block drbd0: send bitmap stats
[Bytes(packets)]: plain 0(0), RLE 25(1), total 25; compression: 100.0%
> Apr 10 11:13:54 web kernel: block drbd0: receive bitmap stats
[Bytes(packets)]: plain 0(0), RLE 25(1), total 25; compression: 100.0%
> Apr 10 11:13:54 web kernel: block drbd0: helper command: /sbin/drbdadm
before-resync-source minor-0
> Apr 10 11:13:54 web kernel: block drbd0: helper command: /sbin/drbdadm
before-resync-source minor-0 exit code 0 (0x0)
> Apr 10 11:13:54 web kernel: block drbd0: conn( WFBitMapS -> SyncSource ) 
> Apr 10 11:13:54 web kernel: block drbd0: Began resync as SyncSource (will
sync 15519040 KB [3879760 bits set]).
> Apr 10 11:13:54 web kernel: block drbd0: updated sync UUID
AF78EBCA7F218B01:C237DF3A275A375B:C236DF3A275A375B:C235DF3A275A375B
> 275A375B:C235DF3A275A375B
> Apr 10 11:13:54 web kernel: block drbd0:
/dev/shm/drbd-8.4.1/drbd/drbd_receiver.c:2541: sector: 0s, size: 4194304
> Apr 10 11:13:54 web kernel: d-con r0: error receiving RSDataRequest, e:
-22 l: 0!
> Apr 10 11:13:54 web kernel: d-con r0: peer( Secondary -> Unknown ) conn(
SyncSource -> ProtocolError ) 
> Apr 10 11:13:54 web kernel: d-con r0: asender terminated
> Apr 10 11:13:54 web kernel: d-con r0: Terminating asender thread

What's wrong?

Thank you.
_______________________________________________
drbd-user mailing list
drbd-user at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user




More information about the drbd-user mailing list