On Mon, Dec 6, 2010 at 10:26 AM, Andrew Gideon <span dir="ltr"><<a href="mailto:ag928272@gideon.org" target="_blank">ag928272@gideon.org</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>> You better make sure xvdb1 is not used by someone else at the time your</div><div>
> drbd tries to attach it.<br>
><br>
> You may need to fix your fstab, or your lvm.conf, or your initrd, or<br>
> whatever other "magic" is going on there.<br>
<br>
</div>LVM; the underlying device is being activated by LVM so I need to block<br>
that. I'll make the change and try again.</blockquote><div><br></div><div>Need something like the following, replace <DRBD-backing-store> with the appropriate device/partition:</div><div><br></div><div> --- lvm.conf.orig 2010-10-01 14:01:59.350001934 -0500</div>
<div>+++ lvm.conf 2010-10-01 14:24:11.306001934 -0500</div><div>@@ -50,7 +50,7 @@</div><div><br></div><div><br></div><div> # By default we accept every block device:</div><div>- filter = [ "a/.*/" ]</div>
<div>+ filter = [ "r|/dev/<DRBD-backing-store>|", "a/.*/" ]</div><div><br></div><div><br></div><div>-JR</div></div>