[DRBD-user] Questions to get DRBD + Hearbeat to work

Bernd Schubert bernd-schubert at gmx.de
Tue Aug 2 11:07:43 CEST 2005

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


On Tuesday 02 August 2005 10:41, Rainer Rohde, E3T IT-Systems wrote:
> On Tue, 2005-08-02 at 10:32 +0200, Bernd Schubert wrote:
> > Well, it it supposed to work on the primary node. Is one of the nodes
> > really
> > in primary state? What does the syslog say on this system?
>
> Here's part from dmesg:
>
> drbd0: drbdsetup [1415]: cstate Unconfigured --> StandAlone
> drbd0: drbdsetup [1418]: cstate StandAlone --> Unconnected
> drbd0: drbd0_receiver [1419]: cstate Unconnected --> WFConnection
> drbd0: drbd0_receiver [1419]: cstate WFConnection --> WFReportParams
> drbd0: Handshake successful: DRBD Network Protocol version 74
> drbd0: Connection established.
> drbd0: I am(S): 1:00000002:00000001:0000000a:00000001:00
> drbd0: Peer(S): 1:00000002:00000001:00000009:00000001:01
> drbd0: drbd0_receiver [1419]: cstate WFReportParams --> WFBitMapS
> drbd0: Secondary/Unknown --> Secondary/Secondary
                               ^^^^^^^^^^^^^^^^^^^
Hmm, this states that both nodes are in secondary state. 

> drbd0: drbd0_receiver [1419]: cstate WFBitMapS --> SyncSource
> drbd0: Resync started as SyncSource (need to sync 0 KB [0 bits set]).
> drbd0: Resync done (total 1 sec; paused 0 sec; 0 K/sec)
> drbd0: drbd0_receiver [1419]: cstate SyncSource --> Connected
>
> .. is that what you needed to look at?

Are there following lines stating it goes into primary state? Does anything 
appear in the logs *when* you create the filesystem?

Cheers,
	Bernd


PS: I suggest you also reply to the list. I'm usually also just pressing the 
reply button, but for the drbd list this is only a personal reply.


-- 
Bernd Schubert
PCI / Theoretische Chemie
Universität Heidelberg
INF 229
69120 Heidelberg
e-mail: bernd.schubert at pci.uni-heidelberg.de



More information about the drbd-user mailing list