All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philipp Reisner <philipp.reisner@linbit.com>
To: drbd-dev@lists.linbit.com
Subject: Re: [Drbd-dev] DRBD-8: weirdness with netlink/connector
Date: Mon, 16 Oct 2006 11:13:58 +0200	[thread overview]
Message-ID: <200610161113.58450.philipp.reisner@linbit.com> (raw)
In-Reply-To: <342BAC0A5467384983B586A6B0B3767103C3B980@EXNA.corp.stratus.com>

Am Freitag, 13. Oktober 2006 21:02 schrieb Graham, Simon:
> We have noticed that when issuing a sequence of drbdadm secondary &
> primary commands, we get errors from the underlying drbdsetup command
> like this:
>
> [root@adam ~]# drbdadm secondary vm1.root.fs
> [root@adam ~]# drbdadm primary vm1.root.fs
> [root@adam ~]# drbdadm secondary vm1.root.fs
> No response from the DRBD driver! Is the module loaded?
>
> I noticed in the code that this error message is produced in a loop that
> keeps reading from the netlink socket until it gets the expected reply
> and also that there was some commented out trace code that would print
> info if an unexpected reply was seen so I enabled this and now see
> things like this:
>
> [root@adam ~]# drbdadm secondary vm1.root.fs
> [root@adam ~]# drbdadm primary vm1.root.fs
> INFO: got other message
> got seq: 110 ; ack 0
> exp seq: 1 ; ack 1849768433
> [root@adam ~]# drbdadm secondary vm1.root.fs
> INFO: got other message
> got seq: 111 ; ack 0
> exp seq: 1 ; ack 299691195
> No response from the DRBD driver! Is the module loaded?
>
> This is very reproducible and is presumably either due to the wrong size
> messages being sent by the kernel or some sort of data corruption in
> drbdsetup - I figured you guys might have a better handle on fixing this
> quickly!

Hi Simon,

I also noticed this already. It is simply a too small timeout in drbdsetup.
I just changed it from 300ms to 5 seconds. 

BTW, the "other messages" are the status events broad casted by DRBD 
on every state change. It is ok, that drbdsetup gets those messages.

-Phil
-- 
: Dipl-Ing Philipp Reisner                      Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH          Fax +43-1-8178292-82 :
: Schönbrunnerstr 244, 1120 Vienna, Austria    http://www.linbit.com :

      reply	other threads:[~2006-10-16  9:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-13 19:02 [Drbd-dev] DRBD-8: weirdness with netlink/connector Graham, Simon
2006-10-16  9:13 ` Philipp Reisner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200610161113.58450.philipp.reisner@linbit.com \
    --to=philipp.reisner@linbit.com \
    --cc=drbd-dev@lists.linbit.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.