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/
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: sources. list ftp.hosteurope. de/mirror/ archive. ubuntu. com precise main restricted universe multiverse ftp.hosteurope. de/mirror/ archive. ubuntu. com precise-security main restricted universe multiverse ftp.hosteurope. de/mirror/ archive. ubuntu. com precise-updates main restricted universe multiverse
$ cat /etc/apt/
deb http://
deb http://
deb http://
My DRBD configuration: d/global_ common. conf
$ cat /etc/drbd.
global {
usage-count no;
}
common {
after- sb-0pri discard- zero-changes;
after- sb-1pri consensus;
after- sb-2pri disconnect; drbd/notify- split-brain. sh root";
protocol C;
disk {
on-io-error detach;
}
syncer {
rate 80M;
al-extents 513;
}
net {
}
handlers {
split-brain "/usr/lib/
}
}
My DRBD resources: 156.132: 7788; 156.134: 7788;
$ cat /etc/drbd.d/*res
resource mysql {
on cl-373506-1-node-1 {
device /dev/drbd2;
disk /dev/sdc1;
address 172.16.
meta-disk internal;
}
on cl-373506-1-node-2 {
device /dev/drbd2;
disk /dev/sdc1;
address 172.16.
meta-disk internal;
}
}
resource www { 156.132: 7789; 156.134: 7789;
on cl-373506-1-node-1 {
device /dev/drbd1;
disk /dev/sdb1;
address 172.16.
meta-disk internal;
}
on cl-373506-1-node-2 {
device /dev/drbd1;
disk /dev/sdb1;
address 172.16.
meta-disk internal;
}
}