Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hello!
We're installing a cluster with 2 nodes.
By starting drbd from /etc/init.d (runlevel 2, normal startup):
_sometimes_ (10 percent of all cases) it fails
with the following error message:
--->
Starting DRBD resources: ioctl(,SET_DISK_CONFIG,) failed: Device or
resource busy
Command line was: '/sbin/drbdsetup /dev/nb0 disk /dev/hda5 internal -1
--on-io-error=detach'
drbdsetup exited with code 20
Failed setting up r0
--->
however, if I started manually a few seconds later
(using /etc/init.d/drbd start), it works fine.
Here is /etc/drbd.conf:
resource r0 {
protocol C;
incon-degr-cmd "halt -f";
startup { wfc-timeout 30; }
disk { on-io-error detach; }
net {}
syncer {
rate 100M;
group 1;
al-extents 257;
}
on castor {
device /dev/nb0;
disk /dev/hda5;
address 192.168.5.1:7788;
meta-disk internal;
}
on pollux {
device /dev/nb0;
disk /dev/hda5;
address 192.168.5.2:7788;
meta-disk internal;
}
}
We're using Debian Woody w/ drbd 0.7.0 and Linux 2.6.7 vanilla.
Linux pollux 2.6.7 #8 Tue Jul 20 15:48:20 CEST 2004 i686 unknown
Thanks in advance,
Szabolcs Horvath