<div>I've discovered (and found on the DRBD site) that drbd on top of loop is a bad idea. I've switched to LVM and everything works now.</div>
<div> </div>
<div>-mike<br><br> </div>
<div><span class="gmail_quote">On 12/27/07, <b class="gmail_sendername">Michael Nelson</b> <<a href="mailto:mikenel@gmail.com">mikenel@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><span class="q">
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">>do NOT "force sync" if you "get stuck" during normal operation.<br>t>hat is just nonsense.
</blockquote>
<div> </div></span>
<div>I wouldn't do that normally, I just wanted to see if it that would change the behavior.</div><span class="q">
<div><br> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">would be interessting to find out where exactly it hangs.<br>if these are still responsive to the console,
<br>try to get a process list while it "hangs":<br>ps -eo pid,state,wchan:40,comm | grep -e "[d]rbd" -e D</blockquote>
<div> </div></span>
<div>On the sender side:</div>
<div><br> 4472 S - drbd0_worker<br> 4487 S - drbd0_receiver<br> 4488 S - drbd0_asender<br> 4659 D blk_congestion_wait dd
<br> </div>
<div>Every once in a while it will block on pdflush. But mostly it waits on dd. </div>
<div> </div>
<div>My current dd command is:</div>
<div> </div>
<div>dd if=/dev/zero of=foo bs=512k count=2048</div>
<div> </div>
<div>Also, I am using a loop device underneath DRBD to test this, not a raw drive or LVM.</div><span class="q">
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">this is likely too high if you have only 512 MB RAM.<br>try with max-buffers 4000, max-epoch-size 4000 or less.
</blockquote>
<div> </div></span>
<div>Ok, I have adjusted it back to 4000.</div>
<div> </div>
<div>Thanks,</div>
<div>-mike</div></blockquote></div><br>