[DRBD-user] drbdsetup 0 disk /dev/sdb1 /dev/sdb1 internal --set-defaults --create-device failed - continuing

Muhammad Sharfuddin m.sharfuddin at nds.com.pk
Mon Sep 6 21:20:17 CEST 2010

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.

OS: SUSE Linux Enterprise 11 SP1
drbd version: 8.7.3

on one node I got the following messages while starting the drbd daemon 

node1:~ # /etc/init.d/drbd start

Starting DRBD resources: [ d(r0) 0: Failure: (114) Lower device is
already claimed. This usually means it is mounted.

[r0] cmd /sbin/drbdsetup 0 disk /dev/sdb1 /dev/sdb1 internal
--set-defaults --create-device  failed - continuing!

s(r0) n(r0) ].

stop/start the drbd daemon two  times in a row fix the issue, i.e no more
such messages.
and the above message never comes before today.
likewise the above message didn't came on the other node(node2) 

cat /etc/drbd.conf

include "drbd.d/global_common.conf";
include "drbd.d/*.res"; 

cat /etc/drbd.d/r0.res
resource r0 {
device /dev/drbd0;
meta-disk internal;

on node1 {
disk /dev/sdb1;

on node2 {
disk /dev/sdb1;

syncer {
rate 4M;

cat /etc/drbd.d/global_common.conf
global {
usage-count no;

common {
protocol C;

handlers {
"/usr/lib/drbd/notify-pri-on-incon-degr.sh; /usr/lib/drbd/notify-emergency-reboot.sh; echo b > /proc/sysrq-trigger ; reboot -f";
"/usr/lib/drbd/notify-pri-lost-after-sb.sh; /usr/lib/drbd/notify-emergency-reboot.sh; echo b > /proc/sysrq-trigger ; reboot -f";
"/usr/lib/drbd/notify-io-error.sh; /usr/lib/drbd/notify-emergency-shutdown.sh; echo o > /proc/sysrq-trigger ; halt -f";

startup {
wfc-timeout 1;
degr-wfc-timeout 1;



Muhammad Sharfuddin | NDS Technologies Pvt Ltd | +92-333-2144823

More information about the drbd-user mailing list