[DRBD-user] v8.2.5 no /dev/drbd0 device

Stefan Herrmann sh at imos.net
Fri May 9 11:55:05 CEST 2008

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


Hello,

I installed drbd 8.2.5 on a fresh Debian 4.0 with software raid 1. Built
a new Kernel 2.6.24.7. Everything workes:

Every 2.0s: cat /proc/drbd
              Wed May  7 18:16:36 2008

version: 8.2.5 (api:88/proto:86-88)
GIT-hash: 9faf052fdae5ef0c61b4d03890e2d2eab550610c build by root at demo1,
2008-05-07 14:13:53
 0: cs:Connected st:Secondary/Secondary ds:UpToDate/UpToDate C r---
    ns:0 nr:9959852 dw:9959852 dr:0 al:0 bm:608 lo:0 pe:0 ua:0 ap:0
        resync: used:0/31 hits:621884 misses:608 starving:0 dirty:0
changed:608
        act_log: used:0/257 hits:0 misses:0 starving:0 dirty:0 changed:0

Only thing is: it didn't create a /dev/drbd0 device. Now I can't create
a filesystem on it. can anyone help ?

drbd.conf
=========

global {
    usage-count no;
}

common {
  syncer { rate 10M; }
}

resource r0 {

  protocol C;

  handlers {
    pri-on-incon-degr "echo o > /proc/sysrq-trigger ; halt -f";
    pri-lost-after-sb "echo o > /proc/sysrq-trigger ; halt -f";
    local-io-error "echo o > /proc/sysrq-trigger ; halt -f";
  }

  startup {
    degr-wfc-timeout 120;    # 2 minutes.
  }

  disk {
    on-io-error   detach;
  }

  net {
    after-sb-0pri disconnect;
    after-sb-1pri disconnect;
    after-sb-2pri disconnect;
    rr-conflict disconnect;
  }

  syncer {
    rate 10M;
    al-extents 257;
  }

  on demo1 {
    device    /dev/drbd0;
    disk      /dev/md3;
    address   10.0.0.1:7788;
    meta-disk internal;
  }

  on demo2 {
    device    /dev/drbd0;
    disk      /dev/md3;
    address   10.0.0.2:7788;
    meta-disk internal;
  }

}

MfG
Stefan Herrmann

PS: Wird diese E-Mail auch bei Ihnen archiviert?
Falls nicht, sollten Sie vielleicht einmal www.emailarchive.de besuchen !
-- 
imos  Gesellschaft fuer Internet-Marketing und Online-Services mbH
Alfons-Feifel-Str. 9 // D-73037 Goeppingen  // Stauferpark Ost
Tel: 07161 93339-19  // Fax: 07161 93339-99 // Internet: www.imos.net

Eingetragen im Handelsregister des Amtsgerichts Ulm, HRB 532571
Vertreten durch die Geschaeftsfuehrer Alfred und Rolf Wallender



More information about the drbd-user mailing list