[DRBD-user] Create partitions from DRBD

Lars Ellenberg lars.ellenberg at linbit.com
Tue Jul 29 18:35:21 CEST 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 Tue, Jul 29, 2008 at 03:25:04PM +0000, ZiLioN ZilLioN wrote:
> 
> 
> > Date: Tue, 29 Jul 2008 07:59:26 -0700
> > From: digolinopage at yahoo.com.br
> > Subject: Re: [DRBD-user] Create partitions from DRBD
> > To: drbd-user at lists.linbit.com
> >
> > Hello Lars,
> >
> > I readed all chapter five in the DRBD site.
> > All steps are successful, then i saw the result of /proc/drbd in both
> machines:
> >
> > root at ubuntu-cluster1:~# cat /proc/drbd
> > version: 8.0.5 (api:86/proto:86)
> > SVN Revision: 3011 build by root at ubuntu-cluster1, 2008-07-25 14:46:01
> > 0: cs:WFConnection st:Primary/Unknown ds:UpToDate/DUnknown C r---
> > ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
> > resync: used:0/31 hits:0 misses:0 starving:0 dirty:0 changed:0
> > act_log: used:0/257 hits:0 misses:0 starving:0 dirty:0 changed:0
> >
> >
> > root at ubuntu-cluster2:~# cat /proc/drbd
> > version: 8.0.5 (api:86/proto:86)

DO NOT USE OUTDATED VERSIONS.

please.
do not use outdated versions.

we are at 8.0.12, release candidate for 8.0.13 is out already.
or, if you prefer, 8.2.6, and 8.2.7 comming soon.

there are a number of known bugs in that 8.0.5 version.

> > SVN Revision: 3011 build by root at ubuntu-cluster2, 2008-07-28 10:28:49
> > 0: cs:WFConnection st:Secondary/Unknown ds:Inconsistent/DUnknown C r---
> > ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
> > resync: used:0/31 hits:0 misses:0 starving:0 dirty:0 changed:0
> > act_log: used:0/257 hits:0 misses:0 starving:0 dirty:0 changed:0
> >
> > I believe this allright. Then I added the drbd in /etc/modules, and reboot
> the machine. After reboot I'll see the result of the command cat /proc/drdb.
> >
> 
> This is not correct:
> 
>     st:Primary/Unknown and st:Secondary/Unknown
> 
> The correct is:
> 
>     st:Secondary/Secondary in both nodes.

the important part is the connection state, cs.
it should be
	cs:Connected
not WFConnection (waiting for connection).

> The partition is probably the problem.

no.

he probably just forgot to allow the drbd ports though his firewall.


-- 
: Lars Ellenberg                           http://www.linbit.com :
: DRBD/HA support and consulting             sales at linbit.com :
: LINBIT Information Technologies GmbH      Tel +43-1-8178292-0  :
: Vivenotgasse 48, A-1120 Vienna/Europe     Fax +43-1-8178292-82 :
__
please don't Cc me, but send to list -- I'm subscribed



More information about the drbd-user mailing list