[DRBD-user] WARN: no normal resources defined for this host

Madison Kelly linux at alteeve.com
Tue Feb 2 07:26:09 CET 2010

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


Hi all,

   I'm not sure what I am doing wrong here, but I suspect it's something 
trivial I am failing to see.

   I've got two CentOS 5.4 x86_64 nodes running DRBD 8.3.2:

------------------------------------------------
drbdadm --version
DRBDADM_BUILDTAG=GIT-hash:\ dd7985327f146f33b86d4bff5ca8c94234ce840e\ 
build\ by\ mockbuild at v20z-x86-64.home.local\,\ 2009-08-29\ 14:06:15
DRBDADM_API_VERSION=88
DRBD_KERNEL_VERSION_CODE=0x080302
DRBDADM_VERSION_CODE=0x080302
DRBDADM_VERSION=8.3.2
------------------------------------------------

   I've got a pretty simple setup of two nodes I am trying to setup as 
master/master with each node using an LVM LV. Here's the config:

------------------------------------------------
global {
         usage-count yes;
}
common {
         protocol C;
         syncer { rate 33M; }
}
resource r0 {
         device    /dev/drbd0;
         meta-disk internal;
         net {
                 allow-two-primaries;
         }
         startup {
                 become-primary-on both;
         }
         on an_san01 {
                 address   10.0.0.71:7789;
		disk      /dev/san01/lv02;
         }
         on an_san02 {
                 address   10.0.0.72:7789;
         	disk      /dev/san02/lv02;
         }
}
------------------------------------------------

   Nodes answer pings:

------------------------------------------------
[root at san01 ~]# ping an_san01
PING an_san01 (192.168.1.71) 56(84) bytes of data.
64 bytes from an_san01 (192.168.1.71): icmp_seq=1 ttl=64 time=0.076 ms
64 bytes from an_san01 (192.168.1.71): icmp_seq=2 ttl=64 time=0.088 ms

--- an_san01 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.076/0.082/0.088/0.006 ms
[root at san01 ~]# ping 10.0.0.71
PING 10.0.0.71 (10.0.0.71) 56(84) bytes of data.
64 bytes from 10.0.0.71: icmp_seq=1 ttl=64 time=0.053 ms
64 bytes from 10.0.0.71: icmp_seq=2 ttl=64 time=0.043 ms

--- 10.0.0.71 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.043/0.048/0.053/0.005 ms
[root at san01 ~]# ping an_san02
PING an_san02 (192.168.1.72) 56(84) bytes of data.
64 bytes from an_san02 (192.168.1.72): icmp_seq=1 ttl=64 time=0.420 ms
64 bytes from an_san02 (192.168.1.72): icmp_seq=2 ttl=64 time=0.336 ms

--- an_san02 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.336/0.378/0.420/0.042 ms
[root at san01 ~]# ping 10.0.0.72
PING 10.0.0.72 (10.0.0.72) 56(84) bytes of data.
64 bytes from 10.0.0.72: icmp_seq=1 ttl=64 time=2.34 ms
64 bytes from 10.0.0.72: icmp_seq=2 ttl=64 time=0.332 ms

--- 10.0.0.72 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 0.332/1.338/2.345/1.007 ms
------------------------------------------------

   For some reason though, when I try to check or start the cluster, I 
get this error:

------------------------------------------------
[root at san01 ~]# drbdadm dump
WARN: no normal resources defined for this host (san01.alteeve.com)!?

[root at san02 ~]# drbdadm dump
WARN: no normal resources defined for this host (san02.alteeve.com)!?
------------------------------------------------

   Can someone twack me with a clue-stick? :)

Thanks!

Madi



More information about the drbd-user mailing list