[DRBD-user] Re: Freezing on /etc/init.d/drbd start on one node

Thibaut Perrin tperrindrbd at gmail.com
Tue Jul 15 15:33:20 CEST 2008

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


Hi,

as I have done the same installation on the two servers, they should
normally have the same version of kernel and modules.

root at troll:~# lsmod
Module                  Size  Used by
drbd                  246204  0
cn                      9696  1 drbd


root at troll:~# modinfo drbd
filename:       /lib/modules/2.6.15-52-686/kernel/drivers/block/drbd.ko
author:         Philipp Reisner <phil at linbit.com>, Lars Ellenberg <
lars at linbit.com>
description:    drbd - Distributed Replicated Block Device v8.2.6
license:        GPL
alias:          block-major-147-*
vermagic:       2.6.15-52-686 SMP preempt 686 gcc-4.0
depends:        cn
srcversion:     786DEBE732590E57FBD3F6A
parm:           usermode_helper:string
parm:           proc_details:int
parm:           trace_devs:int
parm:           trace_type:int
parm:           trace_level:int
parm:           fault_devs:int
parm:           fault_count:int
parm:           fault_rate:int
parm:           enable_faults:int
parm:           allow_oos:DONT USE! (bool)
parm:           minor_count:Maximum number of drbd devices (1-255) (int)

root at troll:~# uname -a
Linux troll 2.6.15-52-686 #1 SMP PREEMPT Mon Jun 9 17:46:15 UTC 2008 i686
GNU/Linux

It seems to be the same...

What else can I do ?

Thanks in advance,

Thibaut


On Tue, Jul 15, 2008 at 12:38 PM, Mihail Vasiliev <mick at linkintel.ru> wrote:

> Thibaut Perrin
>
> First - get 100% sure that on "freezing" machine you have drbd module
> which corresponds running kernel. I've got strange behavior and some
> undocumented and unpredictable bugs when trying to insmod wrong module.



On Tue, Jul 15, 2008 at 12:02 PM, Thibaut Perrin <tperrindrbd at gmail.com>
wrote:

> Hi everyone,
>
> I'm new to this list, and I didn't find any results about my question, but
> I may have done a bad search, so please forgive me if this question has
> already been asked and answered.
>
> I'm installing drbd on a 2 nodes system, and I'm facing a quite strange bug
> :
>
> on NODE 1 :
> when I do /etc/init.d/drbd status
> drbd driver loaded OK; device status:
> version: 8.2.6 (api:88/proto:86-88)
> GIT-hash: 3e69822d3bb4920a8c1bfdf7d647169eba7d2eb4 build by root at gobelin,
> 2008-07-11 10:55:23
> m:res  cs  st  ds  p  mounted  fstype
>
> root at gobelin:~# /etc/init.d/drbd start
> Starting DRBD resources:    [ d(r0) s(r0) n(r0) ].
> ..........
> ***************************************************************
>  DRBD's startup script waits for the peer node(s) to appear.
>  [...]
>  To abort waiting enter 'yes' [  16]:yes
>
> root at gobelin:~# /etc/init.d/drbd status
> drbd driver loaded OK; device status:
> version: 8.2.6 (api:88/proto:86-88)
> GIT-hash: 3e69822d3bb4920a8c1bfdf7d647169eba7d2eb4 build by root at gobelin,
> 2008-07-11 10:55:23
> m:res  cs            st                 ds                     p  mounted
> fstype
> 0:r0   WFConnection  Secondary/Unknown  Inconsistent/DUnknown  C
>
> So I guess everything is OK here. I have the same /etc/drbd.conf on the
> second node, but here's what happens :
> NODE 2 :
> root at troll:~# /etc/init.d/drbd status
> drbd driver loaded OK; device status:
> version: 8.2.6 (api:88/proto:86-88)
> GIT-hash: 3e69822d3bb4920a8c1bfdf7d647169eba7d2eb4 build by root at troll,
> 2008-07-11 12:53:35
> m:res  cs  st  ds  p  mounted  fstype
>
> root at troll:~# /etc/init.d/drbd start
> Starting DRBD resources:    [ d(r0)
>
> and it freezes... simply.
>
> I have to restart the server. No ssh answer, no CTRL + C, it just simply
> freezes...
>
> I tried to start it first on this node, to see if it was an "availibility"
> issue, but it seems not. As it freezes, I have no clue in the log files,
> nothing seems wrong.
>
> Does anyone have already seen something like this before, is it a known bug
> ? Am I stupid or what ? :p
>
> Thanks in advance, Cheers everyone.
>
> Thibaut Perrin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20080715/8bf48eb3/attachment.htm>


More information about the drbd-user mailing list