[DRBD-user] Re: doesn't seem to work...

robert tom robert at estrell.com
Mon Aug 16 17:23:21 CEST 2004

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


<dhz_bf at ...> writes:

> 
> 
> 
>  
> I don't understand how you start drbd.  I am using 0.6.12, and I am 
using /etc/init.d/drbd start to start drbd.  It takes care of loading the 
module (I am not using a separate modprobe command), and it waits until the 
syncing is complete.
>  
> Could you be more specific about the actual scripts/commands and their order.
>  
> Doron
> 
> <robert-1Xtdb0TCD9tBDgjK7y7TUQ <at> public.gmane.org>doesn't seem to work...
> I am using DRBD 0.7 and wanted DRBD to wait to finish
> syncing before Heartbeat is started and doesn't seem to work.
> It will just sync and while syncing will start heartbeat anyway.
> It doesn't wait. I though drbdsetup /dev/nb0 wait_sync will do that when added
> to a script. sample script below on rc.local
> modprobe drbd
> drbdsetup /dev/nb0 wait_sync  <-- from here it goes, 
> drbd start   <-- here right away
> heartbeat start <-- then here.
> is my order, or commands wrong?
> thanks,
> Robert
> _______________________________________________
> drbd-user mailing list
> drbd-user-cunTk1MwBs8qoQakbn7OcQ <at> public.gmane.org
> http://lists.linbit.com/mailman/listinfo/drbd-user
> 
> 
> 
> Walla! Mail, Get Your Private, Free E-mail from Walla! 
at:http://mail.walla.co.il
> 
> 



Doron,

Thanks for replying. I just found that out that drbd start 
will load modprobe and even wait for /dev/nb0 to appear
before it starts running drbd. So I really didn't need
to use the "modprobe drbd" comand.

I am using drbd with HA and was just testing it if 
drbd will load first before HA. I am using fedora core 1 and 
I added the startup under services for drbd and HA instead
of using rc.local

are you using HA with DRBD also? what sequence do they get started on your 
init.d? 



Robert





More information about the drbd-user mailing list