[Bug 1311660] [NEW] drbd8-utils doesn't create /dev/drbd/ after updating to 8.4.3
Dennis S.
1311660 at bugs.launchpad.net
Wed Apr 23 13:32:19 UTC 2014
Public bug reported:
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 node1 {
device /dev/drbd2;
disk /dev/sdc1;
address 172.16.156.132:7788;
meta-disk internal;
}
on node2 {
device /dev/drbd2;
disk /dev/sdc1;
address 172.16.156.134:7788;
meta-disk internal;
}
}
resource www {
on node1 {
device /dev/drbd1;
disk /dev/sdb1;
address 172.16.156.132:7789;
meta-disk internal;
}
on node2 {
device /dev/drbd1;
disk /dev/sdb1;
address 172.16.156.134:7789;
meta-disk internal;
}
}
** Affects: drbd8 (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
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;
+ 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";
- }
+ 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
+ $ cat /etc/drbd.d/*res
resource mysql {
- on cl-373506-1-node-1 {
+ on node1 {
device /dev/drbd2;
disk /dev/sdc1;
address 172.16.156.132:7788;
meta-disk internal;
}
- on cl-373506-1-node-2 {
+ on node2 {
device /dev/drbd2;
disk /dev/sdc1;
address 172.16.156.134:7788;
meta-disk internal;
}
}
resource www {
- on cl-373506-1-node-1 {
+ on node1 {
device /dev/drbd1;
disk /dev/sdb1;
address 172.16.156.132:7789;
meta-disk internal;
}
- on cl-373506-1-node-2 {
+ on node2 {
device /dev/drbd1;
disk /dev/sdb1;
address 172.16.156.134:7789;
meta-disk internal;
}
}
** Description changed:
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
- $ cat /etc/drbd.d/*res
resource mysql {
- on node1 {
- device /dev/drbd2;
- disk /dev/sdc1;
- address 172.16.156.132:7788;
- meta-disk internal;
- }
- on node2 {
- device /dev/drbd2;
- disk /dev/sdc1;
- address 172.16.156.134:7788;
- meta-disk internal;
- }
+ on node1 {
+ device /dev/drbd2;
+ disk /dev/sdc1;
+ address 172.16.156.132:7788;
+ meta-disk internal;
+ }
+ on node2 {
+ device /dev/drbd2;
+ disk /dev/sdc1;
+ address 172.16.156.134:7788;
+ meta-disk internal;
+ }
}
resource www {
- on node1 {
- device /dev/drbd1;
- disk /dev/sdb1;
- address 172.16.156.132:7789;
- meta-disk internal;
- }
- on node2 {
- device /dev/drbd1;
- disk /dev/sdb1;
- address 172.16.156.134:7789;
- meta-disk internal;
- }
+ on node1 {
+ device /dev/drbd1;
+ disk /dev/sdb1;
+ address 172.16.156.132:7789;
+ meta-disk internal;
+ }
+ on node2 {
+ device /dev/drbd1;
+ disk /dev/sdb1;
+ address 172.16.156.134:7789;
+ meta-disk internal;
+ }
}
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to drbd8 in Ubuntu.
https://bugs.launchpad.net/bugs/1311660
Title:
drbd8-utils doesn't create /dev/drbd/ after updating to 8.4.3
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/drbd8/+bug/1311660/+subscriptions
More information about the Ubuntu-server-bugs
mailing list