[DRBD-user] IP 192.168.1.2 not found on this host.

Lars Ellenberg Lars.Ellenberg at linbit.com
Tue Apr 27 12:57:29 CEST 2004

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


/ 2004-04-27 11:37:23 +0400
\ Eugene Crosser:
> What do I miss?
> 
> root at nfsa2:~# drbdadm disconnect all
> /etc/drbd.conf:39: in resource drbd0, on nfsa2:
>         IP 192.168.1.2 not found on this host.

probably my fault...
the command issues is delegated to bash like this:
[[ `/sbin/ip -o addr show scope global to <IP>` == *inet\ <IP>/* ]]

maybe the "scope global" is too tight?
or /sbin/ip is not where it is on your box?

anyways, because I expected inconsistencies with this
sanity check, it is currently a warning only, until I get it working
properly on all boxes.

> root at nfsa2:~# pr -n /etc/drbd.conf
> ...
>    36     on nfsa2 {
>    37       device /dev/nb0;
>    38       disk /dev/sda;
>    39       address 192.168.1.2:7789;
                      ^^^^^^^^^^^
>    40       meta-disk internal;
>    41     }
> ...
> root at nfsa2:~# /sbin/ifconfig
> eth1      Link encap:Ethernet  HWaddr 00:0B:DB:93:9B:F4
>           inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
                      ^^^^^^^^^^^

hey, the error message only says "not found", not "does not exist" :)

	Lars Ellenberg




More information about the drbd-user mailing list