[DRBD-user] Newbie installing drbd 8.2.6

Tripp Lewis tlewis at Lewisindustriesinc.com
Sat Jun 28 06:04:56 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.

Hi.  I am new to drbd and testing it out.  I have drbd install on my system.



My drbd.conf file looks like


global {

  usage-count no;


common {

  protocol C;


resource r0 {

  on area51 {

    device    /dev/drbd0;

    disk      /dev/hdc1;


    meta-disk internal;


  on area52 {

    device    /dev/drbd0;

    disk      /dev/hdd1;


    meta-disk internal;





I patched drbd it into my kernel.


I can create-md r0

I can  drbdadm attach r0

I can drbdadmin connect r0


Cat /proc/drbd looks like this.


root at area51:/usr/src/drbd-8.2.6#  more /proc/drbd

version: 8.2.6 (api:88/proto:86-88)

GIT-hash: 3e69822d3bb4920a8c1bfdf7d647169eba7d2eb4 build by
root at area51.lewisindustriesinc.com, 2008-06-24 18:15:36

 0: cs:StandAlone st:Primary/Unknown ds:UpToDate/DUnknown   r---

    ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 oos:29301596



when I try and mke2fs /dev/drbd0 I get this error


root at area51:/usr/src/drbd-8.2.6# mke2fs /dev/drbd0

mke2fs 1.38 (30-Jun-2005)

Could not stat /dev/drbd0 --- No such file or directory


The device apparently does not exist; did you specify it correctly?



When I compile my kernel I get this error message at the end


Warning: '/proc/partitions' does not match '/dev' directory structure.

    Name change: '/dev/drbd0' -> '/tmp/dev.0'

Warning: '/dev' directory structure is incomplete; device (147, 0) is






Anyone have any ideas why I cant format the /dev/drbd0 partition?



I would appreciate any help or suggestions.  I know I'm close..




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20080628/9848b45e/attachment.htm>

More information about the drbd-user mailing list