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-06 09:47:44 -0400 \ Jim Greene: > I try doing a drbdadm up all and I get the following: > /etc/drbd.conf:85: > There are multiple host sections for the peer. > (Maybe misspelled local host name?) > Detected at host section ending here. > (Host sections are those beginning with the 'on' keyword) > > Below is my drbd.conf. I must be missing something? pop1-drbd is the > primary.. Do I eed to tell it that in the config somewhere as well ? > on pop1-drbd { > on pop2-drbd { no. but it should match the output of the "gethostname" syscall. what does the below .c proggie say? lge #------------- #include <unistd.h> int main(int argc,char**argv) { char name[256] = ""; int i = gethostname(name,255); name[255] = 0; if (i) { perror("gethostname:"); return 10; } printf("'%s'\n",name); return 0; }