[DRBD-user] Re: Problems with configuration

Lars Ellenberg Lars.Ellenberg at linbit.com
Thu Nov 24 11:52:32 CET 2005

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


/ 2005-11-24 11:50:33 +0100
\ Andrés Cañada:
> I forgot to make node1 primary!! Sorry.
> Ok. After changing node1 status to primary, I can see 
> Nov 24 12:39:46 node1 kernel: drbd0: Secondary/Unknown --> Primary/Unknown

if the other is "Unknown", and the cs (connection status) is
"WFConnection" (Wait for Connection), then the peers obviously do not
see each other, can not communicate, and therefore not replicate.


> then, I mount /dev/drbd0 (I have a line in /etc/fstab 
> like: /dev/drbd0      /www    auto    defaults,noauto 0       0)
> and I supose when the HOWTO says <<edit some files, unmount it, make that node 
> Secondary,>> it means that I have to make changes in /www (where I 
> mount /dev/drbd0), isn't it??
> That's what I do, and after unmounting /www I make node1 secondary with 
> #drbdadm secondary all. Then I go to node2 and make it primary
> and mount /dev/drbd0 there (I got the same line in /etc/fstab). 
> 
> But I can't see any changes in /www at node2.
> Any idea of why not?

see above.

any firewall rules that prevent this connection?

> > my drbd.con is:
> > ...
> > on node1 {
> >     device     /dev/drbd0;
> >     disk       /dev/hda2;
> >     address    192.168.2.50:7788;
> >     meta-disk  internal;
> >
> >  }
> >
> >   on node2 {
> >     device    /dev/drbd0;
> >     disk      /dev/hda2;
> >     address   192.168.2.51:7788;
> >     meta-disk internal;
> >   }



More information about the drbd-user mailing list