Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hello all!
I'm using two Supermicro servers with two SATA disks in RAID-1 (ICH5R,
Adaptec's aarich driver) under Red Hat based OS with custom kernel
(2.4.25 based, minimum changes). DRBD v. 0.7.10 compiles and installs
OK, but when I start it I get the following error:
[root at mcbc1 root]# /etc/init.d/drbd start
Starting DRBD resources: [ d0 ioctl(,SET_DISK_CONFIG,) failed:
Operation not permitted
cmd /sbin/drbdsetup /dev/drbd0 disk /dev/sda6 internal -1
--on-io-error=detach failed!
dmesg output:
drbd: initialised. Version: 0.7.10 (api:77/proto:74)
drbd: SVN Revision: 1743 build by root at mcbc1, 2005-04-04 13:43:08
drbd: registered as block device major 147
/etc/drbd.conf:
resource r0 {
protocol C;
incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ;
halt -f";
startup {
degr-wfc-timeout 120; # 2 minutes.
}
disk {
on-io-error detach;
}
syncer {
rate 10M;
group 1;
al-extents 257;
}
on mcbc1 {
device /dev/drbd0;
disk /dev/sda6;
address 192.168.100.185:7788;
meta-disk internal;
}
on mcbc2 {
device /dev/drbd0;
disk /dev/sda6;
address 192.168.100.186:7788;
meta-disk internal;
}
}
Please, tell me, what I'm doing wrong?
Regards,
Timophey Kushnir.