[DRBD-user] drbd8 - primary/primary - no sync

prashant prashant at bluebarracuda.com
Thu Jun 28 14:55:12 CEST 2007

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


Hi All,

I have got DRBD  Version: 8.0.2 (api:86) installed.
And mounting 2 nodes partition as primary.
------------------------------------------------------------------------------------------------------
Modules are loaded

root at slack:~/packages/drbd# lsmod | grep drbd
drbd                  187000  2
cn                      6816  1 drbd
------------------------------------------------------------------------------------------------------
Config files looks ok.

root at slack:~/packages/drbd# lsmod | grep drbd
drbd                  187000  2
cn                      6816  1 drbd
root at slack:~/packages/drbd# more /etc/drbd.conf
global {
    # we want to be able to use up to 2 drbd devices
    minor-count 2;
    dialog-refresh 1; # 1 seconds
}

resource r0 {
  protocol C;
#  incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 2 ; 
halt -f";

on slack {
    device     /dev/drbd0;
    disk       /dev/sda2;
    address    192.168.1.79:7788;
    meta-disk  internal;
  }

on slack1 {
    device    /dev/drbd0;
    disk      /dev/sda2;
    address   192.168.1.74:7788;
    meta-disk internal;
  }

  disk {
    on-io-error   detach;
  }

  net {
    max-buffers     2048;
    ko-count 4;
#    on-disconnect reconnect;
        allow-two-primaries;
  }

  syncer {
    rate 10M;
    al-extents 257; # must be a prime number
  }

  startup {
    wfc-timeout  0;
    degr-wfc-timeout 120;    # 2 minutes.
  }
}
root at slack:~/packages/drbd#

------------------------------------------------------------------------------------------------------
and proc/drbd shows

root at slack:~/packages/drbd# more /proc/drbd
version: 8.0.2 (api:86/proto:86)
SVN Revision: 2844 build by root at slack.bluebarracuda.eu, 2007-05-04 12:49:50
 0: cs:Connected st:Primary/Primary ds:UpToDate/UpToDate C r---
    ns:73872 nr:200 dw:344 dr:73812 al:0 bm:24 lo:0 pe:0 ua:0 ap:0
        resync: used:0/31 hits:4596 misses:12 starving:0 dirty:0 changed:12
        act_log: used:0/257 hits:36 misses:0 starving:0 dirty:0 changed:0
root at slack:~/packages/drbd#

------------------------------------------------------------------------------------------------------

mount point are ok

root at slack:~/packages/drbd# mount | grep drbd0
/dev/drbd0 on /www type reiserfs (rw)

------------------------------------------------------------------------------------------------------

But there is no sync.

Everything appears normal, but still nothing happens.


Any one have any idea how to solve it.. or do indepth diagnosis/ 
troubleshooting.

Many thanks
Prashant




More information about the drbd-user mailing list