I have some problems getting a drbd cluster running.
When I want to start creating my storage, i get the following error:
root@raspberrypi-ha1~# drbdadm create-md drbd1
no resources defined
But my resource is definitely defined in /etc/drbd.conf on both hosts:
include "drbd.d/global_common.conf";
include "drbd.d/*.res";
resource drbd1{
protocol C;
syncer {
rate 3M;
al-extents 257;
}
on raspberrypi-ha1 {
device /dev/drbd1;
disk /dev/sda1;
address 192.168.178.201:7789;
meta-disk internal;
}
on raspberrypi-ha2 {
device /dev/drbd1;
disk /dev/sda1;
address 192.168.178.202:7789;
meta-disk internal;
}
}
The hostname is set to raspberrypi-ha1 Does anyone have an idea?