On Mon, Dec 6, 2010 at 10:26 AM, Andrew Gideon <[email protected]> wrote:

> > You better make sure xvdb1 is not used by someone else at the time your
> > drbd tries to attach it.
> >
> > You may need to fix your fstab, or your lvm.conf, or your initrd, or
> > whatever other "magic" is going on there.
>
> LVM; the underlying device is being activated by LVM so I need to block
> that.  I'll make the change and try again.


Need something like the following, replace <DRBD-backing-store> with
the appropriate device/partition:

 --- lvm.conf.orig       2010-10-01 14:01:59.350001934 -0500
+++ lvm.conf    2010-10-01 14:24:11.306001934 -0500
@@ -50,7 +50,7 @@


     # By default we accept every block device:
-    filter = [ "a/.*/" ]
+    filter = [ "r|/dev/<DRBD-backing-store>|", "a/.*/" ]


-JR
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to