<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Monotype Corsiva";
        panose-1:3 1 1 1 1 2 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:#244061;
        font-weight:normal;
        font-style:normal;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=WordSection1>
<p class=MsoNormal><b><span style='font-size:10.0pt;color:#244061'>Hi All,<o:p></o:p></span></b></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#244061'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#244061'>I am new to
DRBD and have been unable to run a full setup at the moment. I am getting a
kernel panic whenever the auto sync start from the Up2date node (whenever I do
resource up or drbd restart it panics)…<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#244061'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#244061'>I am running DRBD
on LVM2 device with to be volume and metadata both on different LVs.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#244061'><o:p> </o:p></span></p>
<p class=MsoNormal><b><span style='font-size:10.0pt;color:#244061'>Running VMs –
Configuration below.<o:p></o:p></span></b></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#244061'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#244061;background:silver;
mso-highlight:silver'>Linux OracleLinuxVM1 2.6.32-71.el6.i686 #1 SMP Wed Dec 15
09:50:18 EST 2010 i686 i686 i386 GNU/Linux</span><span style='font-size:10.0pt;
color:#244061'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#244061'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#244061'>I have created
the kernel module for DRBD as per instructions on the DRBD.org and the module<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'># modinfo drbd<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>filename:
/lib/modules/2.6.32-71.el6.i686/kernel/drivers/block/drbd.ko<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>alias:
block-major-147-*<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>license:
GPL<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>version:
8.4.1<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>description:
drbd - Distributed Replicated Block Device v8.4.1<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>author:
Philipp Reisner <phil@linbit.com>, Lars Ellenberg <lars@linbit.com><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>srcversion:
BDEB896AF78C3EDA3E0BC08<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>depends:
libcrc32c<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>vermagic:
2.6.32-71.el6.i686 SMP mod_unload modversions 686<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>parm:
minor_count:Approximate number of drbd devices (1-255) (uint)<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>parm:
disable_sendpage:bool<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>parm:
allow_oos:DONT USE! (bool)<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>parm:
proc_details:int<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>parm:
enable_faults:int<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>parm:
fault_rate:int<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>parm:
fault_count:int<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>parm:
fault_devs:int<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>parm:
usermode_helper:string</span><span style='font-size:10.0pt;
font-family:"Courier New";color:#244061'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#244061'><o:p> </o:p></span></p>
<p class=MsoNormal><b><span style='font-size:10.0pt;color:#244061'>The status
before the crash is – (on the node that crashed)<o:p></o:p></span></b></p>
<p class=MsoNormal><b><span style='font-size:10.0pt;color:#244061'><o:p> </o:p></span></b></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>Dec 19 18:31:39
OracleLinuxVM2 kernel: block drbd1: uuid_compare()=0 by rule 10<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>Dec 19 18:31:39
OracleLinuxVM2 kernel: block drbd1: No resync, but 262112 bits in bitmap!<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>Dec 19 18:51:19 OracleLinuxVM2
kernel: block drbd1: disk( Inconsistent -> Failed )<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>Dec 19 18:51:19
OracleLinuxVM2 kernel: block drbd1: disk( Failed -> Diskless )<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>Dec 19 18:51:19
OracleLinuxVM2 kernel: block drbd1: drbd_bm_resize called with capacity == 0<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>Dec 19 18:53:10 OracleLinuxVM2
kernel: block drbd1: disk( Diskless -> Attaching )<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>Dec 19 18:53:10
OracleLinuxVM2 kernel: block drbd1: max BIO size = 1048576<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>Dec 19 18:53:10
OracleLinuxVM2 kernel: block drbd1: drbd_bm_resize called with capacity ==
2097152<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>Dec 19 18:53:10 OracleLinuxVM2
kernel: block drbd1: resync bitmap: bits=262144 words=8192 pages=8<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>Dec 19 18:53:10
OracleLinuxVM2 kernel: block drbd1: size = 1024 MB (1048576 KB)<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>Dec 19 18:53:10
OracleLinuxVM2 kernel: block drbd1: bitmap READ of 8 pages took 3 jiffies<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>Dec 19 18:53:10
OracleLinuxVM2 kernel: block drbd1: recounting of set bits took additional 0
jiffies<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>Dec 19 18:53:10
OracleLinuxVM2 kernel: block drbd1: 1024 MB (262112 bits) marked out-of-sync by
on disk bit-map.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>Dec 19 18:53:10
OracleLinuxVM2 kernel: block drbd1: disk( Attaching -> Inconsistent ) pdsk(
DUnknown -> Outdated )<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>Dec 19 18:53:10
OracleLinuxVM2 kernel: block drbd1: attached to UUIDs
0000000000000004:0000000000000000:0000000000000000:0000000000000000<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>Dec 19 18:53:10
OracleLinuxVM2 kernel: block drbd1: drbd_sync_handshake:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>Dec 19 18:53:10
OracleLinuxVM2 kernel: block drbd1: self
0000000000000004:0000000000000000:0000000000000000:0000000000000000 bits:262112
flags:0<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>Dec 19 18:53:10
OracleLinuxVM2 kernel: block drbd1: peer 0000000000000004:0000000000000000:0000000000000000:0000000000000000
bits:262112 flags:2<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>Dec 19 18:53:10
OracleLinuxVM2 kernel: block drbd1: uuid_compare()=0 by rule 10<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>Dec 19 18:53:10
OracleLinuxVM2 kernel: block drbd1: No resync, but 262112 bits in bitmap!<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>Dec 19 18:53:10 OracleLinuxVM2
kernel: block drbd1: peer( Unknown -> Secondary ) conn( WFReportParams ->
Connected ) pdsk( Outdated -> Inconsistent )<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#244061'><o:p> </o:p></span></p>
<p class=MsoNormal><b><span style='font-size:10.0pt;color:#244061'>On the peer
node<o:p></o:p></span></b></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#244061'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>Dec 19 18:54:37
OracleLinuxVM1 kernel: block drbd1: uuid_compare()=2 by rule 30<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>Dec 19 18:54:37
OracleLinuxVM1 kernel: block drbd1: Becoming sync source due to disk states.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>Dec 19 18:54:37
OracleLinuxVM1 kernel: block drbd1: Writing the whole bitmap, full sync
required after drbd_sync_handshake.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>Dec 19 18:54:37
OracleLinuxVM1 kernel: block drbd1: bitmap WRITE of 8 pages took 3 jiffies<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>Dec 19 18:54:37
OracleLinuxVM1 kernel: block drbd1: 1024 MB (262144 bits) marked out-of-sync by
on disk bit-map.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>Dec 19 18:54:37
OracleLinuxVM1 kernel: block drbd1: conn( Connected -> WFBitMapS )<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#244061;background:silver;mso-highlight:silver'>Dec 19 18:54:37
OracleLinuxVM1 kernel: block drbd1: send bitmap stats [Bytes(packets)]: plain
0(0), RLE 21(1), total 21; compression: 100.0%<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#244061'><o:p> </o:p></span></p>
<p class=MsoNormal><b><span style='font-size:10.0pt;color:#244061'>Call Trace
on Node 2 (which panics) <o:p></o:p></span></b></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#244061'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#244061'><img width=649
height=509 id="Picture_x0020_2" src="cid:image001.png@01CDDDF1.D24F6D90"></span><span
style='font-size:10.0pt;color:#244061'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#244061'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#244061'>I am not too
sure how to resolve this, any assistance is appreciated.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:18.0pt;font-family:"Monotype Corsiva";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:18.0pt;font-family:"Monotype Corsiva";
color:#1F497D'>Amit Shil</span><span style='font-size:18.0pt;font-family:"Monotype Corsiva";
color:#1F497D'><o:p></o:p></span></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>