Comment 0 for bug 1311660

Revision history for this message
Dennis S. (dennix-ger) wrote :

Hi there,

I've found the following issue with drbd8-utils. This is my environment:

- Two Cluster Nodes with Ubuntu 12.04.2:
$ lsb_release -rd
Description: Ubuntu 12.04.2 LTS
Release: 12.04

- installed package:
$ dpkg -l drbd8-utils
[...]
ii drbd8-utils 2:8.3.11-0ubuntu1 RAID 1 over tcp/ip for Linux utilities

With this configuration, everything works fine. After I updated drbd8-utils 8.3.11 to the latest release in precise-updates (drbd8-utils 8.4.3) I missed the following directory structure:
- /dev/drbd/*

Especially I missed my DRBD devices I accessed via /dev/drbd/by-res/mysql and /dev/drbd/by-res/www.
I found out, that the udev-rules "65-drbd.rules" were moved out from /etc/udev/rules.d/ to /lib/udev/rules.d/

My sources.list:
$ cat /etc/apt/sources.list
deb http://ftp.hosteurope.de/mirror/archive.ubuntu.com precise main restricted universe multiverse
deb http://ftp.hosteurope.de/mirror/archive.ubuntu.com precise-security main restricted universe multiverse
deb http://ftp.hosteurope.de/mirror/archive.ubuntu.com precise-updates main restricted universe multiverse

My DRBD configuration:
$ cat /etc/drbd.d/global_common.conf
global {
    usage-count no;
}

common {
    protocol C;
    disk {
        on-io-error detach;
    }
    syncer {
        rate 80M;
        al-extents 513;
    }
    net {
        after-sb-0pri discard-zero-changes;
        after-sb-1pri consensus;
        after-sb-2pri disconnect;
    }
    handlers {
        split-brain "/usr/lib/drbd/notify-split-brain.sh root";
    }
}

My DRBD resources:
$ cat /etc/drbd.d/*res
resource mysql {
    on cl-373506-1-node-1 {
        device /dev/drbd2;
        disk /dev/sdc1;
        address 172.16.156.132:7788;
        meta-disk internal;
    }
    on cl-373506-1-node-2 {
        device /dev/drbd2;
        disk /dev/sdc1;
        address 172.16.156.134:7788;
        meta-disk internal;
    }
}

resource www {
    on cl-373506-1-node-1 {
        device /dev/drbd1;
        disk /dev/sdb1;
        address 172.16.156.132:7789;
        meta-disk internal;
    }
    on cl-373506-1-node-2 {
        device /dev/drbd1;
        disk /dev/sdb1;
        address 172.16.156.134:7789;
        meta-disk internal;
    }
}