<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>You need to use a cluster-aware filesystem such as ocfs2 or gfs to
be able to mount a DRBD device on both boxes at the same time. it looks
like you are mounting the underlying /dev/sd* block device, not
/dev/drbd1.</tt><br>
<br>
On 3/17/2010 11:40 AM, Cameron Smith wrote:
<blockquote
cite="mid:edc0e50f1003170840h3aa9f876uf334b39e99497b6c@mail.gmail.com"
type="cite">I am stuck.
<div><br>
</div>
<div>I did in an initial install of DRBD and was able to achieve a
sync from primary to secondary!</div>
<div><br>
</div>
<div>Maybe.</div>
<div><br>
</div>
<div>My partition that is source on primary and destination on
secondary is:</div>
<div><br>
</div>
<div>/dev/sda2 /data</div>
<div><br>
</div>
<div>When I create files in the /data directory I can see that DRBD
is recognizing that things are changing and when I run:</div>
<div><br>
</div>
<div>cat /proc/drbd</div>
<div><br>
</div>
<div>on both primary and secondary I see they both change if I modify
or add files in /data on the primary.</div>
<div><br>
</div>
<div><br>
</div>
<div>My question is why do I not see those same files on /data on the
secondary?</div>
<div><br>
</div>
<div>Shouldn't they be there?</div>
<div><br>
</div>
<div><br>
</div>
<div>Here is the output of cat /proc/drbd from both systems:</div>
<div><br>
</div>
<div>
<div>[[root@clst01 ~]# cat /proc/drbd</div>
<div>version: 8.0.16 (api:86/proto:86)</div>
<div>GIT-hash: d30881451c988619e243d6294a899139eed1183d build by
<a class="moz-txt-link-abbreviated" href="mailto:mockbuild@v20z-x86-64.home.local">mockbuild@v20z-x86-64.home.local</a>, 2009-08-22 13:26:57</div>
<div><br>
</div>
<div> 1: cs:SyncSource st:Primary/Secondary ds:UpToDate/Inconsistent
C r---</div>
<div> ns:712320 nr:0 dw:0 dr:712320 al:0 bm:43 lo:0 pe:0 ua:0 ap:0</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>[>....................]
sync'ed: 1.2% (62300/62996)M</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>finish:
44:18:11 speed: 376 (320) K/sec</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>resync:
used:0/61 hits:44476 misses:44 starving:0 dirty:0 changed:44</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>act_log:
used:0/127 hits:0 misses:0 starving:0 dirty:0 changed:0</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>[root@clst02 ~]# cat /proc/drbd</div>
<div>version: 8.0.16 (api:86/proto:86)</div>
<div>GIT-hash: d30881451c988619e243d6294a899139eed1183d build by
<a class="moz-txt-link-abbreviated" href="mailto:mockbuild@v20z-x86-64.home.local">mockbuild@v20z-x86-64.home.local</a>, 2009-08-22 13:26:57</div>
<div><br>
</div>
<div> 1: cs:SyncTarget st:Secondary/Primary ds:Inconsistent/UpToDate
C r---</div>
<div> ns:0 nr:718400 dw:718400 dr:0 al:0 bm:43 lo:0 pe:0 ua:0 ap:0</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>[>....................]
sync'ed: 1.2% (62292/62996)M</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>finish:
33:13:27 speed: 416 (320) K/sec</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>resync:
used:0/61 hits:44856 misses:44 starving:0 dirty:0 changed:44</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>act_log:
used:0/127 hits:0 misses:0 starving:0 dirty:0 changed:0</div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks!</div>
<div>Cameron</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
drbd-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a>
<a class="moz-txt-link-freetext" href="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</a>
</pre>
</blockquote>
</body>
</html>