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 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. always get an error.
<br>I'll scan through the logs and see what I can find, the config is pretty basic.<br><br>Take the drbd.conf from the same (share/packages...etc) and make only minor changes, thus:<br><br>on amd {<br> device /dev/drbd0;
<br> disk /dev/sda3;<br> address <a href="http://192.168.22.11:7788">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 or not made no difference so I'm just trying to simply it), as I'm trying to 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>(test.tar is the one that contains a single directory). and wham!
<br><br>I'll double-check the logs tomorrow. I probably am missing something.<br><br>I *KNOW* drbd is solid! I *KNOW* it's something *STUPID*! I just don't know what. augh <br><br>but thanks so far. I'll email you tomorrow if I don't find something obvious.
<br><br>Dan.<br><div><span class="gmail_quote">On 2/8/07, <b class="gmail_sendername">Lars Ellenberg</b> <<a href="mailto:Lars.Ellenberg@linbit.com">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 09:26:45 -0500<br>\ Dan Gahlinger:<br>> >and that would be which kernel and drbd version/revision exactly?<br>> >(sorry, no 10.2 handy right now)<br>><br>> Kernel: 2.6.18.2-34 (x86) SMP<br>> Although I've tried slightly older kernel too (the one from suse
<br>> 10.1) dont have it handy though.<br>><br>> DRBD version:<br>> "out of the box" - 0.7.22-30<br>><br>> >and if you do this without drbd,<br>> >it does behave fine, presumably?<br>>
<br>> It works fine without drbd, yes.<br>><br>><br>> >what is in kernel log before "read-only file system" ?<br>> >any oopes, BUG()s, stacktraces or drbd related messages?<br>><br>> no errors in the kernel log or messages, no traces, no bugs, no errors.
<br><br>no way. there _HAS_ to be a log from the ext3 that it remounts readonly<br>because of something.<br>if not, you are looking at the wrong logfile.<br><br>> >what file system?<br>><br>> ext3. I've never been able to get drbd to work with anything else.
<br>><br>> >does it happen<br>> > without drbd ?<br>> Yes!<br><br>uhm, you mean no, right?<br><br>> > with drbd StandAlone?<br>> Yes!<br>> > with drbd Connected?<br>><br>> Yes!<br>>
<br>> In fact, I've nailed it down a bit, to do "quick testing"<br>> I created a test directory as follows (as root):<br>><br>> mkdir /test<br>> cd /test<br>> mkdir A<br>> tar -cvf test.tar
.<br>><br>> then copied this 10k tar file to the partition I just setup with DRBD,<br>><br>> and tried to untar it.<br>><br>> DRBD will "crash" every time! By this I mean, it cannot create the directory,
<br>> and instantly puts the partition into "read-only mode"<br><br>it is not DRBD that remounts anything readonly.<br>it is the ext3 file system, normally because of io-errors.<br>and it will log why. I need that error message.
<br><br>> Every single time.<br>><br>><br>> I can untar hundreds of megs, of thousands of files, and it's fine.<br>> But try and untar a single directory, and wham! every time.<br>><br>> what's up with this? weirder and weirder.
<br><br>does a mkdir there have the same effect?<br><br>> >did you run memtest<br>><br>><br>> No, but I'm not sure how this applies. the system runs perfectly without DRBD.<br>> such a small simple test, it's not ram.
<br><br>now, see, we have fileservers in production.<br>database clusters. quite a few of them.<br>terabytes of storage.<br><br>never heard of what you describe,<br>unless it was user error -- or bad hardware.<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">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">drbd-user@lists.linbit.com
</a><br><a href="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br></blockquote></div><br>