Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Though Both nodes have the exact same configuration and reachable,
low-level storage connected, and mounted, and both server reachable,
I still cannot create the device metadata (from either nodes)
*sudo drbdadm create-md r0*
'r0' not defined in your config (for this host).
Any hint?
*########################################## Node1:*
*cat /etc/drbd.d/global_common.conf*
global {
usage-count yes;
}
common {
net {
protocol C;
}
}
*cat /etc/drbd.d/r0.res*
resource r0 {
device /dev/drbd1;
disk /dev/sdb1;
meta-disk internal;
on node1 {
address 192.168.0.118:7789;
}
on node2 {
address 192.168.0.119:7789;
}
}
*df -h*
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 7.3G 982M 6.0G 14% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 239M 4.0K 239M 1% /dev
tmpfs 50M 416K 50M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 248M 0 248M 0% /run/shm
none 100M 0 100M 0% /run/user
/dev/sdb1 991M 1.3M 939M 1% /shared
*########################################## Node2:*
*cat /etc/drbd.conf*
include "drbd.d/global_common.conf";
include "drbd.d/*.res";
*cat /etc/drbd.d/global_common.conf*
global {
usage-count yes;
}
common {
net {
protocol C;
}
}
*cat /etc/drbd.d/r0.res*
resource r0 {
device /dev/drbd1;
disk /dev/sdb1;
meta-disk internal;
on node1 {
address 192.168.0.118:7789;
}
on node2 {
address 192.168.0.119:7789;
}
}
*df -h*
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 7.3G 1.1G 5.8G 16% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 239M 4.0K 239M 1% /dev
tmpfs 50M 420K 50M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 248M 0 248M 0% /run/shm
none 100M 0 100M 0% /run/user
/dev/sdb1 991M 1.3M 939M 1% /shared
ajn at node2:~$ *ping node1.ajnouri.com <http://node1.ajnouri.com>*
PING node1.ajnouri.com (192.168.0.118) 56(84) bytes of data.
64 bytes from node1.ajnouri.com (192.168.0.118): icmp_seq=1 ttl=64
time=1.31 ms
64 bytes from node1.ajnouri.com (192.168.0.118): icmp_seq=2 ttl=64
time=0.774 ms
64 bytes from node1.ajnouri.com (192.168.0.118): icmp_seq=3 ttl=64
time=0.675 ms
64 bytes from node1.ajnouri.com (192.168.0.118): icmp_seq=4 ttl=64
time=0.748 ms
^C
--- node1.ajnouri.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 0.675/0.877/1.312/0.254 ms
ajn at node2:~$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20150803/75cce68c/attachment.htm>