[DRBD-user] Pointers with ubuntu

Barry barry at infosys.co.za
Fri Aug 10 12:15:28 CEST 2007


Hi Everyone

I've installed drbd with "apt-get install" on Ubuntu.
My drbd.conf file is as follows:

root at ubuntu0:/usr/src/modules/drbd# drbdadm dump
resource r0 {
    protocol               C;
    incon-degr-cmd       "echo '!DRBD! pri on incon-degr' | wall ; sleep 60
; halt -f";
    on ubuntu0 {
        device           /dev/drbd0;
        disk             /dev/sda3;
        address          192.168.1.253:7788;
        meta-disk        /dev/sda4 [0];
    }
    on ubuntu1 {
        device           /dev/drbd0;
        disk             /dev/sda3;
        address          192.168.1.254:7788;
        meta-disk        /dev/sda4 [0];
    }
    disk {
        on-io-error      detach;
    }
    syncer {
        rate             10M;
        group              1;
        al-extents       257;
    }
    startup {
        degr-wfc-timeout 120;
    }
}

Problem is that the /dev/drbd0 device does not exist.
lsmod | grep drbd brings up nothing.
I don't seem to have a drbd.ko file anywhere.

Could someone please give me some pointers on how to get this done?
I'm pretty sure I need to load some kernel module but I don't know how to go
about it.

Kind Regards,
Barry






More information about the drbd-user mailing list