[DRBD-user] Kernel Panic using LVM2 over DRBD 8.0.6

Lars Ellenberg lars.ellenberg at linbit.com
Tue Dec 4 09:50:33 CET 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, Dec 02, 2007 at 11:50:27PM -0700, Dave Buechler wrote:
> Hi all,
> 
> Using a stock CentOS 5.0 install, I have been attempting to establish
> replication of a large LVM2 partition (approximately 1TB). 
> Unfortunately, after creating drbd0 and completing the initial sync, the
> primary node will kernel panic referencing drbd_req.c, line 374 -- I
> think.  Forgive me, I don't have the panic message in front of me.

in _my_ source code, drbd 8.0.6,
the line 374 does only contain an if statement.
the line 376 is a BUG_ON statement.

so maybe you want to be more precise about what version
you actually are using, and what that "panic" looks like?
or is is the BUG_ON statement?

could it be that the cause of the problem happen much earlier, and is
about some memory shortage, which you ignored?

what is in the kernel log,
from the start of the drbd until the "panic"?

>   net {
>     sndbuf-size 256k;
>     max-buffers     8192;
>     unplug-watermark   32768;
>     max-epoch-size  5;

???
that is a very small max-epoch size.
you don't want to do that.
but that is unrelated.

-- 
: commercial DRBD/HA support and consulting: sales at linbit.com :
: 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