<div dir="ltr">Hi Tom,<div><br></div><div>Every init script in /etc/init.d has a header saying what the boot dependancies should be.</div><div><br></div><div>You can put something like this in the header of /etc/init.d/drbd:</div>
<div><br></div><div># X-Start-Before: heartbeat corosync<br></div><div><br></div><div>just add lvm2 to this line and run "insserv" to recalculate te boot order</div><div><br></div><div># X-Start-Before: heartbeat corosync lvm2<br>
</div><div><br></div><div>Best regards,</div><div>Caspar</div><div><br></div><div class="gmail_extra"><div class="gmail_quote">2013/8/27 <span dir="ltr"><<a href="mailto:tomnor@gmx.de" target="_blank">tomnor@gmx.de</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:Verdana;font-size:12.0px"><div>
<div> </div>
<div>I'm trying to setup two servers (Debian Wheezy) with partition /dev/sdb1as DRBD1. Then I use DRBD1 I as physical volume for LVM. On this PV I created some LV holding XEN-Virtual Machines. I configured this using documentation without real problems, but when I reboot my first server, LVM does not show any PV. Some older mailings in this list told my, this could be a problem in booting sequences: As far as I see, LVM is started through /etc/rcS.d/S05lvm2 and DRBD via /etc/init.d/drbd</div>
<div> </div>
<div>Does anybody use this setup on Debian Wheezy? How do I arrange starting LVM after DRBD?</div>
<div> </div>
<div>$: pvs<br>
$t:drbd-overview<br>
1:r0 WFConnection Secondary/Unknown UpToDate/DUnknown C r----s</div>
<div> </div>
<div>Thanks in advance</div>
<div>Tom</div>
</div></div></div>
<br>_______________________________________________<br>
drbd-user mailing list<br>
<a href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a><br>
<a href="http://lists.linbit.com/mailman/listinfo/drbd-user" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
<br></blockquote></div><br></div></div>