<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<FONT color=#0000ff size=2><FONT color=#0000ff size=2>
I have removed the line size 9380 in drbd.conf of active SC and rebooted it.<BR>
After that when DRBD is brought up on Standby SC, Handshake was successful, but </FONT></FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>pdsk( DUnknown -&gt; Diskless ).</FONT></FONT><BR>
<FONT color=#ff0000 size=2><FONT color=#ff0000 size=2></FONT></FONT>&nbsp;<BR>
<FONT color=#000000>Can some one help me resolving this issue?</FONT><BR>
<FONT color=#ff0000 size=2><FONT color=#ff0000 size=2></FONT></FONT>&nbsp;<BR>
Excerpts from drbd.conf:<BR>disk {<BR>&nbsp;&nbsp; on-io-error&nbsp;&nbsp; detach;<BR>}<BR>&nbsp;<BR>&nbsp; on Sc1 {<BR>&nbsp;&nbsp;&nbsp; device&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/drbd0;<BR>&nbsp;&nbsp;&nbsp; disk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/tffsb4;<BR>&nbsp;&nbsp;&nbsp; address&nbsp;&nbsp;&nbsp;&nbsp; 10.19.17.1:7789;<BR>&nbsp;&nbsp;&nbsp; meta-disk&nbsp;&nbsp; internal;<BR>&nbsp; }<BR>&nbsp; on Sc2 {<BR>&nbsp;&nbsp;&nbsp; device&nbsp;&nbsp;&nbsp;&nbsp; /dev/drbd0;<BR>&nbsp;&nbsp;&nbsp; disk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/tffsb4;<BR>&nbsp;&nbsp;&nbsp; address&nbsp;&nbsp;&nbsp; 10.19.18.1:7789;<BR>&nbsp;&nbsp;&nbsp; meta-disk&nbsp; internal;<BR>&nbsp; }<BR><BR>
<FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>&nbsp;<BR></FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>
<A href="mailto:t@hapWibbSc2">Sc2</A>:~# dmesg |grep drbd<BR>
drbd: initialised. Version: 8.0.16 (api:86/proto:86)<BR>
drbd: GIT-hash: d30881451c988619e243d6294a899139eed1183d build by a22852@isdmldlinux, 2010-05-24 04:23:26<BR>
drbd: registered as block device major 147<BR>
drbd: minor_table @ 0xad8ad3e0<BR>
drbd0: disk( Diskless -&gt; Attaching )<BR>
drbd0: Starting worker thread (from cqueue/0 [576])<BR>
drbd0: No usable activity log found.<BR>
drbd0: max_segment_size ( = BIO size ) = 32768<BR>
drbd0: drbd_bm_resize called with capacity == 18768<BR>
drbd0: resync bitmap: bits=2346 words=74<BR>
drbd0: size = 9384 KB (9384 KB)<BR>
drbd0: recounting of set bits took additional 0 jiffies<BR>
drbd0: 9384 KB (2346 bits) marked out-of-sync by on disk bit-map.<BR>
drbd0: disk( Attaching -&gt; Inconsistent )<BR>
drbd0: Barriers not supported on meta data device - disabling<BR>
drbd0: conn( StandAlone -&gt; Unconnected )<BR>
drbd0: Starting receiver thread (from drbd0_worker [1581])<BR>
drbd0: receiver (re)started<BR></FONT></FONT><B><FONT color=#008000 size=2><FONT color=#008000 size=2>
drbd0: conn( Unconnected -&gt; WFConnection )<BR>
drbd0: Handshake successful: DRBD Network Protocol version 86<BR>
drbd0: conn( WFConnection -&gt; WFReportParams )<BR>
drbd0: Starting asender thread (from drbd0_receiver [1586])<BR></B></FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>
drbd0: Considerable difference in lower level device sizes: 32176s vs. 18768s<BR>
drbd0: conn( WFReportParams -&gt; Connected ) pdsk( DUnknown -&gt; Diskless )<BR>
</FONT></FONT><BR><BR>PUTCHA LAKSHMINARAYANA. LAK&nbsp;<BR><BR><BR><BR>&nbsp;<BR>
<HR id=stopSpelling>
From: putcha_laks@hotmail.com<BR>To: drbd-user@lists.linbit.com<BR>Date: Wed, 21 Jul 2010 09:00:51 +0000<BR>Subject: [DRBD-user] Upgrade DRBD-8.0.6 to DRBD-8.0.16<BR><BR>
<STYLE>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</STYLE>
Hi,<BR>&nbsp;<BR>Our current system is running DRBD-8.0.6 on 2&nbsp;boards, One of the baords is active and the other board is standby.<BR>DRBD is configured&nbsp;with meta-disk set as internal, port 7789, protocol C, size 9380. Excerpts attached at the end.<BR>&nbsp;<BR>To minimize outage by resetting both boards, we would like to upgrade and bring up standby board&nbsp; on DRBD-8.0.16 first. My attempts are not successful so far.<BR>&nbsp;<BR>Things modified to match DRBD-8.0.16:<BR>In drbd.conf file size is modified as "size 9380K"<BR>All other entries are kept same as in DRBD-8.0.6<BR>&nbsp;<BR>Issues:<BR>When drbd is started on standby drbdstatus shows <BR>0: cs:WFConnection st:Secondary/Unknown ds:UpToDate/DUnknown C r---<BR>&nbsp;<BR>And Primary does not detect DRBD on standby board.<BR>0: cs:WFConnection st:Primary/Unknown ds:UpToDate/DUnknown C r---<BR>&nbsp;<BR>Questions:<BR>1. Is DRBD-8.0.16 backward compatible with DRBD-8.0.6?<BR>2. Why there is no communication between DRBD-8.0.6 and DRBD-8.0.16?<BR>3. Can any one list all the changes one must do to upgrade DRBD version on a redundant setup (standby first and then active)?<BR>&nbsp;<BR>Excerpts from drbd.conf of DRBD8.0.6:<BR>disk {<BR>&nbsp;&nbsp; on-io-error&nbsp;&nbsp; detach;<BR>&nbsp;&nbsp; size 9380;<BR>}<BR>&nbsp;<BR>&nbsp; on Sc1 {<BR>&nbsp;&nbsp;&nbsp; device&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/drbd0;<BR>&nbsp;&nbsp;&nbsp; disk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/tffsb4;<BR>&nbsp;&nbsp;&nbsp; address&nbsp;&nbsp;&nbsp;&nbsp; 10.19.17.1:7789;<BR>&nbsp;&nbsp;&nbsp; meta-disk&nbsp;&nbsp; internal;<BR>&nbsp; }<BR>&nbsp; on Sc2 {<BR>&nbsp;&nbsp;&nbsp; device&nbsp;&nbsp;&nbsp;&nbsp; /dev/drbd0;<BR>&nbsp;&nbsp;&nbsp; disk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/tffsb4;<BR>&nbsp;&nbsp;&nbsp; address&nbsp;&nbsp;&nbsp; 10.19.18.1:7789;<BR>&nbsp;&nbsp;&nbsp; meta-disk&nbsp; internal;<BR>&nbsp; }<BR><BR>Please do the needful,<BR><BR>Thanks and Regards,<BR>LAK <BR><BR><BR><BR><BR>
<HR>
Chin music and high voltage T20 action on MSN Sports <A href="http://sports.in.msn.com/cricket/2010t20wc/">Sign up now.</A>                                               <br /><hr />The dark side of terrorists revealed in MSN Internal Security <a href='http://news.in.msn.com/internalsecurity/' target='_new'>Get it now.</a></body>
</html>