[DRBD-user] /dev/drbd0: Failure: (125) Device has a net-config (use disconnect first)

Wilson Kwok leiw324 at yahoo.com.hk
Sun Jun 7 08:17:59 CEST 2009

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


Hello, I'am new to DRBD. I'm setting two cluster node using Centos 5.2 in VM. 
 
Here's drbd.conf information:
 
global {
  usage-count no;
}
common {
  protocol C;
}
resource r0 {
  on note1 {
    device    /dev/drbd0;
    disk      /dev/sda5;
    address   10.0.0.220:7789;
    meta-disk internal;
  }
  on note2 {
    device    /dev/drbd0;
    disk      /dev/sda5;
    address   10.0.0.221:7789;
    meta-disk internal;
  }
 }

When I input drbdadm connect r0, it occur following error:
 
[root at node1 ~]# drbdadm connect r0
/dev/drbd0: Failure: (125) Device has a net-config (use disconnect first)
Command 'drbdsetup /dev/drbd0 net 10.0.0.220:7789 10.0.0.221:7789 C --set-defaults --create-device' terminated with exit code 10



      Yahoo!香港提供網上安全攻略,教你如何防範黑客! 請前往 http://hk.promo.yahoo.com/security/ 了解更多!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20090606/2b7493b4/attachment.htm>


More information about the drbd-user mailing list