[DRBD-user] reconnect after interface down/up

Martin Gombac martin at isg.si
Tue Jan 8 12:35:22 CET 2008

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


On 2008.1.8, at 12:28, Lars Ellenberg wrote:

> On Tue, Jan 08, 2008 at 10:46:51AM +0100, Martin Gombac wrote:
>> Hi,
>>
>> is DRBD supposed to reconnect automatically after network comes  
>> back up?
>>
>> I did a test for my network status script and had to ifconfig eth3
>> down for one day.
>> eth3 is used for drbd syncing. After i brought eth3 back up i
>> expected for drbd to resync data again without me
>> doing drbdadm connect all. Was i wrong?
>
> if drbd cannot bind the address it is configured to use,
> it gives up. it also logs that into the kernel log.
> you should have looked there.
>
> do "drbdadm adjust all", and it should recover.

Like you said.

drbd1: conn( Unconnected -> WFConnection )
drbd1: Unable to bind source sock (-99)
drbd1: Unable to bind source sock (-99)
drbd1: Unable to bind source sock (-99)
drbd1: Unable to bind sock2 (-99)
drbd1: conn( WFConnection -> Disconnecting )
drbd1: Discarding network configuration.
drbd1: tl_clear()
drbd1: Connection closed
drbd1: conn( Disconnecting -> StandAlone )

I used drdbadm connect all and it worked.




More information about the drbd-user mailing list