[DRBD-user] DRBD not working. pri node: 1:r0/0 WFConnection Primary/Unknown UpToDate/DUnknown /drbd xfs 194G 33M 194G 1%, sec: 1:r0/0 WFConnection Secondary/Unknown Inconsistent/DUnknown

Nelson Hicks nelsonh at socket.net
Fri Sep 26 17:09:04 CEST 2014

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


Definitely looks like a network problem. drbd-overview shows the
resource is in WFConnection state, which means DRBD on the two hosts
have not connected.

Looking at your configuration in the previous email, it looks like you
have host drbdtest1 connecting to IP 10.1.1.1 and host drbdtest2
connecting to 10.1.1.2. This would mean you've configured drbdtest1's
interface with IP 10.1.1.2 and drbdtest2's interface with IP 10.1.1.1.
Is this correct?



On Fri, 2014-09-26 at 15:36 +0200, aTTi wrote:
> Thank you Klint, I run this on firewall settings now both nodes. I
> think nothing changed.
> 
> I do again from start, no config changed:
> 
> both nodes:
> 
> drbdadm create-md r0
> drbdadm up r0
> 
> node1:
> 
> drbdadm -- --overwrite-data-of-peer primary all
> 
> mkfs.xfs ...
> mount  ..
> 
> Now I see the XFS, I copied another file here.
> 
> node1:
> 
> drbd-overview
>  1:r0/0  WFConnection Primary/Unknown UpToDate/DUnknown /drbd xfs 194G
> 33M 194G 1%
> 
> cat /proc/drbd
> 
> version: 8.4.5 (api:1/proto:86-101)
> GIT-hash: 1d360bde0e095d495786eaeb2a1ac76888e4db96 build by
> mockbuild@, 2014-08-17 22:54:26
> 
>  1: cs:WFConnection ro:Primary/Unknown ds:UpToDate/DUnknown C r----s
>     ns:0 nr:0 dw:103877 dr:2342 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1
> wo:f oos:203417500
> 
> 
> node2:
> 
> drbd-overview
>  1:r0/0  WFConnection Secondary/Unknown Inconsistent/DUnknown
> 
> cat /proc/drbd
> 
> version: 8.4.5 (api:1/proto:86-101)
> GIT-hash: 1d360bde0e095d495786eaeb2a1ac76888e4db96 build by
> mockbuild@, 2014-08-17 22:54:26
> 
>  1: cs:WFConnection ro:Secondary/Unknown ds:Inconsistent/DUnknown C r----s
>     ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:193994980
> 
> Also I can ping the nodes.
> What I miss?
> 
> aTTi
> 
> 
> 
> On Fri, Sep 26, 2014 at 10:03 AM, Klint Gore <kgore4 at une.edu.au> wrote:
> >> From: drbd-user-bounces at lists.linbit.com [mailto:drbd-user-bounces at lists.linbit.com] On Behalf Of aTTi
> >>
> >> What need to do now? What should I do to work this?
> >
> >
> > Open the firewall for port 7788 on both nodes.
> >
> > firewall-cmd --zone=internal --add-port=7788-7799/tcp
> >
> > In my setup, the internal zone is ethernet between the nodes.  I've got more than 1 resource so I have extra ports.
> >
> >
> >> I want use drbd with pacemaker + corosync at Centos 7.
> >
> > That's where I'm headed too.
> >
> > Klint.
> _______________________________________________
> 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