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

Ralf Schenk rs at databay.de
Mon Oct 2 15:53:59 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.

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
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.


Ralf Schenk
fon (02 41) 9 91 21-0
fax (02 41) 9 91 21-59
rs at databay.de

Databay AG
Hüttenstraße 7
D-52068 Aachen

Sitz/Amtsgericht Aachen
USt-IdNr.: DE 210844202

Databay - einfach machen.


Diese E-Mail und etwa angehängte Dateien enthalten vertrauliche
Informationen und sind ausschließlich für den Adressaten bestimmt.
Sollten Sie irrtümlich diese E-Mail erhalten haben, bitten wir Sie,
uns darüber unter info at databay.de zu informieren und die E-Mail
aus Ihrem System zu löschen.

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
info at databay.de. If you are not the named recipient, you should return
this message and delete it from your system.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 2.6-bd-claim.patch
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20061002/41d35617/attachment.asc>

More information about the drbd-user mailing list