Hi All,<br><br>While the issue "device held open by someone" was observed again today, we found that e2fsck reported "Device or resource busy"<br><br># e2fsck /dev/drbd0<br>e2fsck 1.39 (29-May-2006)<br>
e2fsck: Device or resource busy while trying to open /dev/drbd0<br>Filesystem mounted or opened exclusively by another program?<br><br><br>Earlier we did not observe such "Device or resource busy" output from e2fsck.<br>
<br>Please share your thoughts on the same.<br><br>Thanks<br>Dileep<br><br><br><br><div class="gmail_quote">O 4. Re: DRBD device held open by someone (Dileep Nayak)<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Wed, 22 Jun 2011 13:22:47 +0530<br>
From: Dileep Nayak <<a href="mailto:tech.disscuss2011@gmail.com">tech.disscuss2011@gmail.com</a>><br>
Subject: Re: [DRBD-user] DRBD device held open by someone<br>
To: <a href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a><br>
Message-ID: <<a href="mailto:BANLkTin2_qavGzsoEvxfgOSUCoMi5aDksA@mail.gmail.com">BANLkTin2_qavGzsoEvxfgOSUCoMi5aDksA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="windows-1252"<br>
<br>
Thanks Lars for your reply.<br>
<br>
DRBD is used in conjunction with Linux-HA in a High Availability<br>
configuration to replicate data between the Active and Standby servers.<br>
<br>
Our product is running LVM (Logical Volume Manager) on top of DRBD.<br>
<br>
We are not using the nfs. The last point is not applicable in our case.<br>
<br>
And please can you explain bit more the below mentioned cases by you and how<br>
to detect/verify them when the issue ?Device is held open by someone? is<br>
occurred.<br>
<br>
Regards,<br>
<br>
Dileep Nayak<br>
<br>
<br>
> 6. Re: DRBD device held open by someone (Lars Ellenberg)<br>
><br>
><br>
Message: 6<br>
Date: Wed, 22 Jun 2011 00:01:49 +0200<br>
From: Lars Ellenberg <<a href="mailto:lars.ellenberg@linbit.com">lars.ellenberg@linbit.com</a>><br>
Subject: Re: [DRBD-user] DRBD device held open by someone<br>
To: <a href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a><br>
Message-ID: <20110621220149.GF21892@<br>
><br>
> barkeeper1-xen.linbit><br>
> Content-Type: text/plain; charset=iso-8859-1<br>
><br>
> On Tue, Jun 21, 2011 at 10:10:41AM +0530, Dileep Nayak wrote:<br>
> > TThanks Matt for your reply to the issue "*DRBD device held open by<br>
> someone*<br>
> > ".<br>
> > Today the below problem has been seen again.<br>
> ><br>
> ><br>
> > State change failed: (-12) Device is held open by someone<br>
><br>
> *Sometimes it is just udev or equivalent doing a race.<br>
> Sometimes it is a unix domain socket or similar still held open<br>
> (won't necessary show up in lsof/fuser).<br>
> Sometimes it is some device mapper targets not yet taken down.<br>
> Sometimes it is nfs locks not being properly released (in time).<br>
><br>
> What do you use DRBD for, what sits on top of it?*<br>
><br>
> --<br>
> : 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>
><br>
><br>
> ------------------------------<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.linbit.com/pipermail/drbd-user/attachments/20110622/c42d1f20/attachment.html" target="_blank">http://lists.linbit.com/pipermail/drbd-user/attachments/20110622/c42d1f20/attachment.html</a>><br>
<br>
</blockquote></div><br>