Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On Sun, Jan 17, 2016 at 09:42:04AM +0100, Dirk Bonenkamp - ProActive Software wrote: > Hi All, > > I've run into some problems on my DRDB cluster this week. This cluster > has been running fine for over a year. All of a sudden the secondary failed: > > Jan 14 08:37:58 data2 kernel: [4895290.318176] drbd r0: meta connection > shut down by peer. > Jan 14 08:37:58 data2 kernel: [4895290.318361] drbd r0: peer( Primary -> > Unknown ) conn( Connected -> NetworkFailure ) pdsk( UpToDate -> DUnknown ) > Jan 14 08:37:58 data2 kernel: [4895290.318532] drbd r0: asender terminated > Jan 14 08:37:58 data2 kernel: [4895290.318534] drbd r0: Terminating > drbd_a_r0 > Jan 14 08:38:07 data2 kernel: [4895298.502391] drbd r0: Connection closed > Jan 14 08:38:07 data2 kernel: [4895298.502405] drbd r0: conn( > NetworkFailure -> Unconnected ) > Jan 14 08:38:07 data2 kernel: [4895298.502406] drbd r0: receiver terminated > Jan 14 08:38:07 data2 kernel: [4895298.502408] drbd r0: Restarting > receiver thread > Jan 14 08:38:07 data2 kernel: [4895298.502409] drbd r0: receiver (re)started > Jan 14 08:38:07 data2 kernel: [4895298.502415] drbd r0: conn( > Unconnected -> WFConnection ) > Jan 14 08:38:07 data2 kernel: [4895299.002586] drbd r0: Handshake > successful: Agreed network protocol version 101 > Jan 14 08:38:07 data2 kernel: [4895299.002592] drbd r0: Agreed to > support TRIM on protocol level > Jan 14 08:38:07 data2 kernel: [4895299.002813] drbd r0: Peer > authenticated using 20 bytes HMAC > Jan 14 08:38:07 data2 kernel: [4895299.002848] drbd r0: conn( > WFConnection -> WFReportParams ) > Jan 14 08:38:07 data2 kernel: [4895299.002852] drbd r0: Starting asender > thread (from drbd_r_r0 [3400]) > > It would reconnect, sync, and disconnect again. I stopped the node, > checked the hardware (all seems fine), rebooted and tried to start drbd > again: > > root at data2:/var/log# drbdadm connect r0 > r0: Failure: (158) Unknown resource As you probably found out by now, You can only "connect" something that is already there. Try "up", or better yet, "adjust". -- : Lars Ellenberg : http://www.LINBIT.com | Your Way to High Availability : DRBD, Linux-HA and Pacemaker support and consulting DRBD® and LINBIT® are registered trademarks of LINBIT, Austria. __ please don't Cc me, but send to list -- I'm subscribed