[DRBD-user] Problem with DRBD and Heartbeat

German Gutierrez kuhne_24 at yahoo.com
Sat Sep 4 21:56:59 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.


Hi

Can you show your /etc/ha.c/haresources file ?

Thanks



 --- Christian Garling <christian at cg-networks.de>
wrote: 
> Hello,
> 
> now my DRBD works. I can change the primary /
> secondary state on both
> nodes manually. But using DRDB in combination with
> Heartbeat fails. I will
> describe the problem:
> 
> 1. booting the two nodes
> 
> 2. drbd starts
> 
> 3. heartbeat starts
> 
> 4. the drbddisk script from heartbeat tries to to
> mount the drbd device on
> both nodes (i think so, not sure)
> 
> 5. it fails because of the following problem, found
> as described in
> drbd_req.c:
>  /* FIXME
>   * not always true, e.g. someone trying to mount on
> Secondary
>   * maybe error out immediately here?
>   */
>   D_ASSERT(mdev->state == Primary);
> 
> The error messages I receive:
> 
> drbd0: ASSERT( mdev->state == Primary ) in
> drbd_req.c:186
> drbd0: ASSERT( mdev->state == Primary ) in
> drbd_compat_wrappers.h:286
> 
> After a while the drbdisk script mounts the drbd
> device read only.
> 
> I think the problem is, that both nodes come up as
> secondary and both
> nodes try to mount the drbd device at same time. I
> dont know how to solve
> this problem. I use kernel 2.4.26, drbd 0.7.3 and
> heartbeat 1.0.4.
> 
> Greetings,
> 
> Christian Garling
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>  


	
	
		
___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun!  http://uk.messenger.yahoo.com



More information about the drbd-user mailing list