<div dir="ltr">Hi Lars,<div><br></div><div>Thanks for your message!</div><div><br></div><div>The IO is not blocked. It is in fact working properly.</div><div><br></div><div>I just noticed the flag and was trying to find out what that means, and how to fix it.</div>
<div><br></div><div>Thanks,</div><div><br></div><div>--Marcelo</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 5, 2013 at 3:53 AM, Lars Ellenberg <span dir="ltr"><<a href="mailto:lars.ellenberg@linbit.com" target="_blank">lars.ellenberg@linbit.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Mon, Feb 04, 2013 at 05:44:48PM -0500, Marcelo Pereira wrote:<br>
> Hello Everyone,<br>
><br>
> I just noticed a flag on one of the DRBD resources, as shown below:<br>
><br>
> > [ /]# cat /proc/drbd<br>
> > version: 8.3.13 (api:88/proto:86-96)<br>
> > GIT-hash: 83ca112086600faacab2f157bc5a9324f7bd7f77 build by dag@Build64R6,<br>
> > 2012-05-07 11:52:13<br>
> > 0: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r-----<br>
> > ns:2081916088 nr:520248 dw:<a href="tel:2082436336" value="+12082436336">2082436336</a> dr:1001913178 al:1585314 bm:132 lo:0<br>
> > pe:0 ua:0 ap:0 ep:1 wo:b oos:0<br>
> > 1: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r---d-<br>
> > ns:1035652 nr:0 dw:1035652 dr:7682 al:270 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1<br>
> > wo:b oos:0<br>
><br>
> The DRBD manual says about the "d" on the 5th flag:<br>
><br>
> > Locally blocked I/O. Normally. May be one of the following flags:<br>
> ><br>
> > d: I/O blocked for a reason internal to DRBD, such as a transient disk<br>
> > state.<br>
<br>
</div>Is IO in fact blocked?<br>
Or are you just worrying about that flag in /proc/drbd ?<br>
<br>
We cache the result of our drbd_congested() hook whenever it is called<br>
by the VM subsystem or generic writeout path, or the like.<br>
We used to not reset that information actively.<br>
So it reset only when "someone" called into that hook again later.<br>
<br>
This means that flag may display stale information /proc/drbd.<br>
Fixed in 8.3.14 and above.<br>
<br>
Lars<br>
<div class="im"><br>
> I have checked the logs (/var/log/messages), and there is nothing there from<br>
> DRBD.<br>
><br>
> There server is running on:<br>
</div>> * CentOS 6.3<br>
> * Kernel 2.6.32-220<br>
<div class="im">> Any suggestion on how to find out what is causing that flag to be up?<br>
><br>
> Thanks,<br>
<br>
<br>
--<br>
</div>: Lars Ellenberg<br>
: LINBIT | Your Way to High Availability<br>
: DRBD/HA support and consulting <a href="http://www.linbit.com" target="_blank">http://www.linbit.com</a><br>
<br>
DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.<br>
__<br>
please don't Cc me, but send to list -- I'm subscribed<br>
</blockquote></div><br></div>