[DRBD-user] Problems with configuration

Andrés Cañada acanada at cnio.es
Thu Nov 24 11:00:15 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.


Hi! I'm new in this list. I've read the documentation and tried to configure 
drdb by my self but still having problems.
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;
  }
...

(on both nodes).

When I type---> drbdadm up all, in node1, I see in /var/log/messages:

root at node1:/dev Nov 24 11:56:35 node1 kernel: drbd0: resync bitmap: 
bits=1431155 words=22362
Nov 24 11:56:35 node1 kernel: drbd0: size = 5590 MB (5724620 KB)
Nov 24 11:56:35 node1 kernel: drbd0: 5590 MB marked out-of-sync by on disk 
bit-map.
Nov 24 11:56:35 node1 kernel: drbd0: No usable activity log found.
Nov 24 11:56:35 node1 kernel: drbd0: drbdsetup [26479]: cstate Unconfigured 
--> StandAlone
Nov 24 11:56:35 node1 kernel: drbd0: drbdsetup [26482]: cstate StandAlone --> 
Unconnected
Nov 24 11:56:35 node1 kernel: drbd0: drbd0_receiver [26483]: cstate 
Unconnected --> WFConnection

and in node2 I see

 Nov 24 10:43:15 node2 kernel: drbd0: resync bitmap: bits=89727 words=1402
Nov 24 10:43:15 node2 kernel: drbd0: size = 350 MB (358908 KB)
Nov 24 10:43:15 node2 kernel: drbd0: 350 MB marked out-of-sync by on disk 
bit-map.
Nov 24 10:43:15 node2 kernel: drbd0: No usable activity log found.
Nov 24 10:43:15 node2 kernel: drbd0: drbdsetup [3582]: cstate Unconfigured --> 
StandAlone
Nov 24 10:43:15 node2 kernel: drbd0: drbdsetup [3585]: cstate StandAlone --> 
Unconnected
Nov 24 10:43:15 node2 kernel: drbd0: drbd0_receiver [3586]: cstate Unconnected 
--> WFConnection

Also, when I type cat /proc/drbd in node1 I see:
version: 0.7.14 (api:77/proto:74)
SVN Revision: 1989 build by root at ameiva, 2005-11-23 16:33:25
 0: cs:WFConnection st:Secondary/Unknown ld:Inconsistent
    ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
 1: cs:Unconfigured

and in node2:
version: 0.7.14 (api:77/proto:74)
SVN Revision: 1989 build by root at tupinambis, 2005-11-23 16:27:09
 0: cs:WFConnection st:Secondary/Unknown ld:Inconsistent
    ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
 1: cs:Unconfigured


Please somebody help me, I'm spending too much time with the configuration!
thank you very much

**NOTA DE CONFIDENCIALIDAD** Este correo electrónico, y en su caso los ficheros adjuntos, pueden contener información protegida para el uso exclusivo de su destinatario. Se prohíbe la distribución, reproducción o cualquier otro tipo de transmisión por parte de otra persona que no sea el destinatario. Si usted recibe por error este correo, se ruega comunicarlo al remitente y borrar el mensaje recibido. 
**CONFIDENTIALITY NOTICE** This email communication and any attachments may contain confidential and privileged information for the sole use of the designated recipient named above. Distribution, reproduction or any other use of this transmission by any party other than the intended recipient is prohibited. If you are not the intended recipient please contact the sender and delete all copies.




More information about the drbd-user mailing list