<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>Re: [DRBD-user] DRBD LVM2 Trouble</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>> NOTE: the SDB devices on nfs2 are numbered differently.<BR>
<BR>
Yet in your config they match up.<BR>
<BR>
May be a case of putting 2.0TB into a 1.5TB bag.<BR>
<BR>
-Ross<BR>
<BR>
<BR>
----- Original Message -----<BR>
From: drbd-user-bounces@lists.linbit.com <drbd-user-bounces@lists.linbit.com><BR>
To: drbd-user@lists.linbit.com <drbd-user@lists.linbit.com><BR>
Sent: Wed Mar 05 20:52:31 2008<BR>
Subject: [DRBD-user] DRBD LVM2 Trouble<BR>
<BR>
Hey Guys,<BR>
<BR>
I have a pretty bad situation on my hands.<BR>
<BR>
We had a node configured running DRBD 8.0.6. The goal was to keep this <BR>
running in standalone mode until we provisioned a matching machine. We <BR>
purchased the matching machine and finally had it fully configured <BR>
today. I kicked off the initial sync, and had hoped that we would have <BR>
both machines in sync within a day or two.<BR>
<BR>
This was unfortunately not the case. When I kicked off the sync all <BR>
seemed well however our application quickly began throwing error's as <BR>
the primary node became read only. I quickly shut off drbd on the <BR>
secondary node and attempted to return the original configuration to <BR>
the primary server. Sadly no amount of back peddling has helped us. We <BR>
are currently dead in the water.<BR>
<BR>
DRBD was configured on the primary node with LVM. We have/had 3 <BR>
resources configured the first 2 being 2TB in size and the 3rd being <BR>
1.4-5TB in size. Since stopping the initial sync I have not been able <BR>
to mount LVM Volume Group that sits above the three resources. NOTE: <BR>
the SDB devices on nfs2 are numbered differently.<BR>
<BR>
/var/log/messages was giving the following messages:<BR>
<BR>
Mar 5 14:38:35 nfs2 kernel: drbd2: rw=0, want=3434534208, <BR>
limit=3421310910<BR>
Mar 5 14:38:35 nfs2 kernel: attempt to access beyond end of device<BR>
Mar 5 14:38:35 nfs2 kernel: drbd2: rw=0, want=3434534216, <BR>
limit=3421310910<BR>
Mar 5 14:38:35 nfs2 kernel: attempt to access beyond end of device<BR>
Mar 5 14:38:35 nfs2 kernel: drbd2: rw=0, want=3434534224, <BR>
limit=3421310910<BR>
Mar 5 14:38:35 nfs2 kernel: attempt to access beyond end of device<BR>
<BR>
<BR>
Here is my conf:<BR>
<BR>
global {<BR>
usage-count no;<BR>
}<BR>
<BR>
common {<BR>
<BR>
syncer {rate 20M;}<BR>
<BR>
handlers {<BR>
local-io-error "echo o > /proc/sysrq-trigger ; halt -f";<BR>
outdate-peer "/sbin/drbd-peer-outdater";<BR>
}<BR>
<BR>
startup {<BR>
wfc-timeout 120; # s<BR>
degr-wfc-timeout 120; # 2 minutes.<BR>
}<BR>
<BR>
disk {<BR>
on-io-error detach;<BR>
}<BR>
<BR>
net {<BR>
sndbuf-size 512k;<BR>
max-buffers 2048;<BR>
unplug-watermark 128;<BR>
cram-hmac-alg "xxx";<BR>
shared-secret "xxx";<BR>
after-sb-0pri disconnect;<BR>
after-sb-1pri disconnect;<BR>
after-sb-2pri disconnect;<BR>
rr-conflict disconnect;<BR>
}<BR>
<BR>
}<BR>
<BR>
resource drbd_sdb1 {<BR>
protocol C;<BR>
<BR>
syncer {<BR>
al-extents 1031;<BR>
}<BR>
<BR>
on nfs2.imprev.net {<BR>
device /dev/drbd0;<BR>
disk /dev/sdb1;<BR>
address 216.145.23.104:7788;<BR>
flexible-meta-disk /dev/sdb2;<BR>
}<BR>
<BR>
on nfs1.imprev.net {<BR>
device /dev/drbd0;<BR>
disk /dev/sdb1;<BR>
address 216.145.23.103:7788;<BR>
flexible-meta-disk /dev/sdb2;<BR>
}<BR>
}<BR>
<BR>
resource drbd_sdb3 {<BR>
protocol C;<BR>
<BR>
syncer {<BR>
al-extents 1031;<BR>
}<BR>
<BR>
on nfs2.imprev.net {<BR>
device /dev/drbd1;<BR>
disk /dev/sdb3;<BR>
address 216.145.23.104:7789;<BR>
flexible-meta-disk /dev/sdb4;<BR>
<BR>
on nfs1.imprev.net {<BR>
device /dev/drbd1;<BR>
disk /dev/sdb3;<BR>
address 216.145.23.103:7789;<BR>
flexible-meta-disk /dev/sdb4;<BR>
}<BR>
}<BR>
<BR>
resource drbd_sdb5 {<BR>
protocol C;<BR>
<BR>
syncer {<BR>
al-extents 1031;<BR>
}<BR>
<BR>
on nfs2.imprev.net {<BR>
device /dev/drbd2;<BR>
disk /dev/sdb5;<BR>
address 216.145.23.104:7790;<BR>
flexible-meta-disk /dev/sdb6;<BR>
}<BR>
<BR>
on nfs1.imprev.net {<BR>
device /dev/drbd2;<BR>
disk /dev/sdb5;<BR>
address 216.145.23.103:7790;<BR>
flexible-meta-disk /dev/sdb6;<BR>
}<BR>
}<BR>
<BR>
<BR>
<BR>
<BR>
_______________________________________________<BR>
drbd-user mailing list<BR>
drbd-user@lists.linbit.com<BR>
<A HREF="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</A><BR>
</FONT>
</P>
<P></P>
<HR WIDTH="100%">
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.
</BODY>
</HTML>