[DRBD-user] Device is held open by someone

Dileep Nayak tech.disscuss2011 at gmail.com
Tue Jul 5 17:25:38 CEST 2011

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


 Hi All,

>
> ****
>
> Below output of the command “*fsck /dev/drbd0*” proves that some resource
> is busy when the issue “Device is held open by someone” is reproduced.****
>
>             *[**root at abaco-a bin]# fsck /dev/drbd0*****
>
> *fsck 1.39 (29-May-2006)*****
>
> *e2fsck 1.39 (29-May-2006)*****
>
> *fsck.ext2: Device or resource busy while trying to open /dev/drbd0*****
>
> *Filesystem mounted or opened exclusively by another program?*****
>
> * *****
>
> * *****
>
>     We’ve spent a lot of time to find out, who is holding the resource? But
> we couldn’t get that.****
>
>  ****
>
>     Please can anybody  answer to my following queries. Thank a lot.****
>
> How to find who is holding the resource if fsck shows the above output.***
> *
>
> Is there any way/commands to get resource freed.****
>
> 3.   How to find out if the problem with the cached data.****
>
> ** **
>
> This issue is also reproducible in our case when we do "service network
> restart".****
>
>  ****
>
>
> Thanks
> Dileep****
>
>
>
> Today's Topics:
>
>
>   2. Re: DRBD device held open by someone (Sebastian Riemer)
>
>
>
>
> Message: 2
> Date: Thu, 30 Jun 2011 16:25:37 +0200
> From: Sebastian Riemer <sebastian.riemer at profitbricks.com>
> Subject: Re: [DRBD-user] DRBD device held open by someone
> To: drbd-user at lists.linbit.com
> Message-ID: <4E0C8761.6070608 at profitbricks.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> And the command "lsof | grep drbd" doesn't return any process which has
> opened the device directly?
> That's curious not. Could be a problem with cached data perhaps then.
>
> Regards,
>
> Sebastian
>
>
> On 30/06/11 16:03, Dileep Nayak wrote:
> > Hi Sebastian,
> >
> > Thanks for looking into this.
> >
> > We don't use the Pacemaker and output of the command "crm status" as
> below:
> > [root@ ~]# crm status
> > -bash: crm: command not found
> >
> > And output of the command "lsof | grep <mount_point>".
> >
> > [root@ ~]# cat /proc/mounts | grep -i drbd
> > [root@ ~]#
>
>
> ****
>
>
> ===============================================================================
> Please refer to http://www.aricent.com/legal/email_disclaimer.html
> for important disclosures regarding this electronic communication.
>
> ===============================================================================
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20110705/aefc660a/attachment.htm>


More information about the drbd-user mailing list