[DRBD-user] "Assert" cause for concern?

Lars Ellenberg lars.ellenberg at linbit.com
Mon Apr 23 09:36:03 CEST 2007

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


On Sun, Apr 22, 2007 at 09:35:51AM -0700, Steve Bourg wrote:
> I recently installed/configured DRBD 8.0 on a newly installed Gentoo pair. 
> Functionally, everything appears to be working great.  However, my console 
> and log files are filling with the message shown below on the Primary 
> node:
> 
> Apr 22 09:24:41 arrogance drbd1: ASSERT( mdev->net_conf->wire_protocol == 
> DRBD_PROT_A ) in /var/tmp/portage/sys-cluster/drbd-
> 8.0.0/work/drbd-8.0.0/drbd/drbd_receiver.c:3156
> Apr 22 09:24:41 arrogance drbd1: ASSERT( mdev->net_conf->wire_protocol == 
> DRBD_PROT_A ) in /var/tmp/portage/sys-cluster/drbd-
> 8.0.0/work/drbd-8.0.0/drbd/drbd_receiver.c:3156
> Apr 22 09:24:41 arrogance drbd1: ASSERT( mdev->net_conf->wire_protocol == 
> DRBD_PROT_A ) in /var/tmp/portage/sys-cluster/drbd-
> 8.0.0/work/drbd-8.0.0/drbd/drbd_receiver.c:3156
> 
> This message is is written several times a minute under 
> nominal/non-existent activity.  So far is has not caused problems for me 
> but my activity has been lightweight and my logs are being flooded.  Does 
> anyone know if this message is indicative of something to be concerned 
> about.  If not, is there someway to just surpress it?
> 

assert is wrong.
we aparently never used protocol B during our testing here.
upgrade to 8.0.2 (or 8.03, should be out this week),
the assert was corrected.

> 
> My configuration:
> 
> global {
>     usage-count yes;
> }
> common {
>   syncer { rate 10M; }
> }
> resource ha-as {
>   protocol B;
>   handlers {

example config file is/was misleading.
it should be a lower case "o" there,
and it should make sure sysrq is switched on.

you should not use these handlers unless
you understand when they are triggered,
and what they are supposed to do.

>     pri-on-incon-degr "echo O > /proc/sysrq-trigger ; halt -f";
>     pri-lost-after-sb "echo O > /proc/sysrq-trigger ; halt -f";
>     local-io-error "echo O > /proc/sysrq-trigger ; halt -f";
>     outdate-peer "/usr/lib/drbd/outdate-peer.sh";

-- 
: Lars Ellenberg                            Tel +43-1-8178292-0  :
: LINBIT Information Technologies GmbH      Fax +43-1-8178292-82 :
: Vivenotgasse 48, A-1120 Vienna/Europe    http://www.linbit.com :
__
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list