[DRBD-user] Boot Sequence LVM and DRBD

Caspar Smit c.smit at truebit.nl
Tue Aug 27 10:49:40 CEST 2013

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


Hi Tom,

Every init script in /etc/init.d has a header saying what the boot
dependancies should be.

You can put something like this in the header of /etc/init.d/drbd:

# X-Start-Before: heartbeat corosync

just add lvm2 to this line and run "insserv" to recalculate te boot order

# X-Start-Before: heartbeat corosync lvm2

Best regards,
Caspar

2013/8/27 <tomnor at gmx.de>

>
> 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
>
> Does anybody use this setup on Debian Wheezy? How do I arrange starting
> LVM after DRBD?
>
> $: pvs
> $t:drbd-overview
>   1:r0  WFConnection Secondary/Unknown UpToDate/DUnknown C r----s
>
> Thanks in advance
> Tom
>
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20130827/454ee73b/attachment.htm>


More information about the drbd-user mailing list