But one thing I don't follow then,<br>how to setup the partitions?<br><br>By "default" creating a new partion formats it.<br>I never use mkfs.<br><br>this probably explains why when I try reiser and other things it never works.
<br><br>So I have a raw device /dev/sda I can partition it into sections,<br>setup /dev/sda3 for this testing,<br><br>I'm slow this morning (no coffee yet, brain sleeping) :)<br><br>Dan.<br><br><div><span class="gmail_quote">
On 2/9/07, <b class="gmail_sendername">Ross S. W. Walker</b> <<a href="mailto:rwalker@medallion.com">rwalker@medallion.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><font color="#0000ff" face="Courier New" size="2"></font> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Courier New" size="2">I think what Lars was saying is:</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Courier New" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Courier New" size="2">Do not mkfs on the initial device, mkfs on the /dev/drbdX
device, because the last 128MB on the initial device will be eaten for
meta-data.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Courier New" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Courier New" size="2">-Ross</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Courier New" size="2"></font></span> </div><br>
<blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div dir="ltr" align="left" lang="en-us">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a href="mailto:drbd-user-bounces@lists.linbit.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">drbd-user-bounces@lists.linbit.com</a>
[mailto:<a href="mailto:drbd-user-bounces@lists.linbit.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">drbd-user-bounces@lists.linbit.com</a>] <b>On Behalf Of </b>Dan
Gahlinger<br><b>Sent:</b> Friday, February 09, 2007 10:42 AM<br><b>To:</b>
<a href="mailto:drbd-user@lists.linbit.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">drbd-user@lists.linbit.com</a><br><b>Subject:</b> Re: [DRBD-user] Reproduceable
error - creating a single directorycauses drbd to fail<br></font><br></div><div><span class="e" id="q_110a72d200c3161b_1">
<div></div>Yes, I don't really follow that.<br>the stuff about "shrinking the
partition".<br>I resized the partition, but that just makes it
worse.<br><br>Definitely missing something there.<br><br>Which probably
explains why using the other meta-disk type works. <br><br>Dan.<br><br>
<div><span class="gmail_quote">On 2/8/07, <b class="gmail_sendername">Lars
Ellenberg</b> <<a href="mailto:Lars.Ellenberg@linbit.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Lars.Ellenberg@linbit.com</a>>
wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">/
2007-02-08 18:17:20 -0500<br>\ Dan Gahlinger:<br>> Lars, could
be.<br>><br>> I meant "no" in that one point.<br>><br>> I was
able to "fix" the problem. By changing the metadisk to a device <br>>
instead of internal.<br>> mkdir does not show the same
problem.<br>><br>> btw mystery piece, when I use Reiser or XFS, I
can't get drbd to work.<br>> always get an error.<br>> I'll scan
through the logs and see what I can find, the config is pretty <br>>
basic.<br>><br>> Take the drbd.conf from the same
(share/packages...etc) and make only minor<br>> changes,
thus:<br>><br>> on amd
{<br>> device
/dev/drbd0;<br>> disk
/dev/sda3; <br>> address <a href="http://192.168.22.11:7788" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.22.11:7788</a>;<br>> meta-disk internal;<br>>
}<br>><br>> I entered a "fake" second system (whether I do it with the
systems connected <br>> or not made no difference so I'm just trying to
simply it), as I'm trying to<br>> only make it work on one system for
now.<br>> then I used:<br>> /etc/init.d/drbd start<br>> drdbsetup
/dev/drbd0 primary --do-what-I-say <br>> mount /dev/drbd0 /test<br>>
cd /test<br>> tar -xvf /test.tar<br><br>so. you use internal drbd
metadata,<br>but you created the file system on the lower level
device.<br><br>ho hum. no further comment.<br>I guess you get to
it sooner or later :-> <br><br>I give you one further hint:<br>in the
kernel log, just before ext3 will remount readonly,<br>it will say "access
beyond end of device".<br><br>> >never heard of what you
describe,<br>> >unless it was user error -- or bad hardware.
<br><br>:-/<br><br>--<br>: Lars
Ellenberg Tel
+43-1-8178292-0 :<br>: LINBIT Information Technologies
GmbH Fax +43-1-8178292-82 :<br>:
Vivenotgasse 48, A-1120 Vienna/Europe <a href="http://www.linbit.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://www.linbit.com</a> :<br>__<br>please
use the "List-Reply" function of your email
client.<br>_______________________________________________<br>drbd-user
mailing list<br><a href="mailto:drbd-user@lists.linbit.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">drbd-user@lists.linbit.com</a><br><a href="http://lists.linbit.com/mailman/listinfo/drbd-user" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.linbit.com/mailman/listinfo/drbd-user</a><br></blockquote></div><br></span></div></blockquote>
<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.
</div>
</blockquote></div><br>