[DRBD-user] cannot connect primary (remains StandAlone)

Marcel Gsteiger Marcel.Gsteiger at milprog.ch
Mon Oct 5 15:40:34 CEST 2009

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


..I can't imagine why it gets that "address already in use" error. I
have 6 identically configured resources, resource 0 on port 7780,
resource 1 on port 7781 etc. Resources 0,1,2,4,5 work as expected, while
resource 3 gets this error. lsof -i does not show any used addresses, I
don't know how to find out who (except drbd itself) could use this
address.

I'm simply looking for a safe way to restart this resource without
having to throw away the entire partition and start from scratch - I
don't mind if the secondary will need to fully re-synchronize.

still looking for help...

--Marcel

>>> Hervé Gautier <herve.gautier at thalesgroup.com> 05.10.2009 14:03 >>>


Marcel Gsteiger a écrit :
> Johannes,
>
> the logs say: 
>
> conn( StandAlone -> Unconnected)
> Starting receiver thread (from drbd3_worker [6482])
> receiver (re)started
> conn( Unconnected -> WFConnection )
> bind before listen failed, err = -98
> conn( WFConnedtion -> Disconnecting )
> Discarding network configuration.
> connection closed
> conn( Disconnection -> StandAlone )
> receiver terminated
> Terminating receiver thread
>
> Perhaps I should mention that I am running drbd across a bonding
interface (two gigabit interfaces connected directly without going
through a switch), running bonding mode 0 (balance-rr). When watching
the counters and /proc/bond/bond0, everything seems to work ok for the
other drbd devices synced through the same connection. I get a
near-perfect load balancing and redundancy this way (at least so I hoped
- this is the first time I am trying this).
>
> My box has three interfaces: eth0 and eth2 are the slaves of my
bonding interface bond0, eth1 is my "outside connection" - bond0 is used
exclusively for the drbd interconnect between the two boxes.
>
> Unfortunately I don't know what err = -98 could mean - any
suggestions?
>   
$ grep 98 /usr/include/asm/errno.h
#define EADDRINUSE      98      /* Address already in use */
> regards
> -Marcel
>
>   
--
Rv

_______________________________________________
drbd-user mailing list
drbd-user at lists.linbit.com 
http://lists.linbit.com/mailman/listinfo/drbd-user



More information about the drbd-user mailing list