[DRBD-user] drbd 8.0pre5 Lower device is already mounted

Philipp Reisner philipp.reisner at linbit.com
Mon Oct 2 16:56:14 CEST 2006

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


Am Montag, 2. Oktober 2006 15:53 schrieb Ralf Schenk:
> Philipp Reisner schrieb:
> > Could you please retry with this pach:
> >
> > phil at mescal:~/src/drbd08/drbd$ svn diff
> > Index: drbd_nl.c
> > ===================================================================
> > --- drbd_nl.c   (revision 2482)
> > +++ drbd_nl.c   (working copy)
> > @@ -671,6 +671,8 @@
> >
> >         nbc->backing_bdev = inode->i_bdev;
> >         if (bd_claim(nbc->backing_bdev, mdev)) {
> > +               WARN("Backing device hold by: %s\n",
> > +                    nbc->backing_bdev->bd_holder);
> >                 retcode=LDMounted;
> >                 goto fail;
> >         }
> >
> >
> > And see what ends up in the kernel log ?
>
> Hello !
>
> Thanks for your fast reply...
> Thats what I get now:
> Oct  2 15:42:27 xeon2 kernel: drbd: initialised. Version: 8.0pre5
> (api:84/proto:83)
> Oct  2 15:42:27 xeon2 kernel: drbd: SVN Revision: 2482M build by
> root at ubuntu_devel, 2006-10-02 15:38:45
> Oct  2 15:42:27 xeon2 kernel: drbd: registered as block device major 147
> Oct  2 15:43:05 xeon2 kernel: drbd0: Backing device hold by:
> Oct  2 15:43:05 xeon2 kernel: drbd0: conn( StandAlone -> Unconnected )
> Oct  2 15:43:05 xeon2 kernel: drbd0: receiver (re)started
> Oct  2 15:43:05 xeon2 kernel: drbd0: conn( Unconnected -> WFConnection )
>
> No answers here....
>
> But perhaps that helps:
> Ubuntu (6.06 Dapper Server) uses evms as addon for logical volume
> management. They use a kernel patch to make that work with later 2.6
> kernels. Since I built my kernel on my own but wanted to stay with that
> functionality I applied their kernel-patch manually. Perhaps that
> conflicts with your way of checking if a device is already in use...
>
> I attach the small patch.

It seems that something else has already claimed that block device.
Strange. Can you mkfs and mount that device ?

-Phil
-- 
: Dipl-Ing Philipp Reisner                      Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH          Fax +43-1-8178292-82 :
: Schönbrunnerstr 244, 1120 Vienna, Austria    http://www.linbit.com :



More information about the drbd-user mailing list