[DRBD-user] Syncronisation

Michael Turner michael_turner at web.de
Mon Mar 2 09:02:15 CET 2009

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

my next problem is that the syncronisation of the nodes just won't work. 
On PC1 I changed the resource to master with the command "drbdsetup /dev/drbd0 primary --overwrite-data-of-peer".
After typing "cat /proc/drbd" i get the following output:

version: 8.2.7 (api:88/proto:86-88)
GIT-hash: 8a9ba53abe973301639beacc55eec569b43507e5 build by lmb at hermes, 2008-12-10 13:23:20
 0: cs:WFConnection st:Primary/Unknown ds:UpToDate/DUnknown C r---
    ns:0 nr:0 dw:32620 dr:20 al:13 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:1003900

I continued with formating the /dev/drbd0 device with ext3.

When I try to start DRBD i receive this output:

PC1:~ # /etc/init.d/drbd start
Starting DRBD resources:    [ ].
 DRBD's startup script waits for the peer node(s) to appear.
 - In case this node was already a degraded cluster before the
   reboot the timeout is 0 seconds. [degr-wfc-timeout]
 - If the peer was available before the reboot the timeout will
   expire after 0 seconds. [wfc-timeout]
   (These values are for resource 'drbd-resource-0'; 0 sec -> wait forever)
 To abort waiting enter 'yes' [  34]

What am I doing wrong?
I tried different tutorials and different configurations, but I always receive the same errors...


resource drbd-resource-0 {

        protocol C;

handlers {
        pri-on-incon-degr "halt -f";
        disk {
                on-io-error detach;

#startup {
#       degr-wfc-timeout 120;

#net {
#       timeout 60;
#       connect-int 10;
#       ping-int 10;
#       max-buffers 2048;
#       max-epoch-size 2048;

syncer {
        rate 10M;
#       group 1;
#       al-extents 257

on PC1 {
        device /dev/drbd0;
        disk /dev/md1;
        flexible-meta-disk internal;

on PC2 {
        device /dev/drbd0;
        disk /dev/md1;
        meta-disk internal;

DSL zum Nulltarif + 20 Euro Extraprämie bei Online-Bestellung über die
DSL Freundschaftswerbung! http://dsl.web.de/?ac=OM.AD.AD008K15279B7069a

More information about the drbd-user mailing list