[DRBD-user] drbdadm create-md res0 error: res0 no defined in your config

K.R Kishore krkishore at yahoo.com
Tue Nov 5 20:52:19 CET 2013

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


Hi
>I have installed drbd on two linux machines (Rhel 6.4, 2.6.32-358.6.1)  and I am getting this error when I try to start drbd.
>
>
>
>
># cat /var/drbd/drbd.conf
>------------------------------------------------------------
>global {
>usage-count yes;
>}
>
>
>common {
>net { protocol C; }
>}
>
>
>resource res0 {
>on pc1{
>        device /dev/drbd1;
>            disk /dev/sdb1;
>            address 192.168.10.1:7789;
>            meta-diskinternal;
>}
>on pc2{
>           device /dev/drbd1;
>           disk /dev/sdb1;
>           address 192.168.10.2:7789;
>           meta-diskinternal;
>}
>}
>----------------------------------------------------------------
>
>
># drbdadm create-md res0
>'rest0' not defined in your config (for this host)
>----------------------------------------------------------------
>Some info on my setup
>- The two machines are connected back-to-back via 10G link (in addition to a 1G link to internet)
>- The IP address in the conf file is that of the 10G link 
>- I have the same conf file on both machines
>- drbd is installed in /var/drbd (and the conf is there, not in /etc/...I know it is picking up this file because I can make a typo here and drbd will flag a syntax error)
>- the disks on sdb1 are accessible
>- drbd is 8.4.4
>
>
>It's probably something simple..What am I missing?
>thx,
>Kishore
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20131105/c94d6a32/attachment.htm>


More information about the drbd-user mailing list