[DRBD-user] DRBD Root failover

Chuka Okoye okoye9 at gmail.com
Wed Mar 26 15:52:02 CET 2008

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


I having been trying to get drbd to mount my root partition for a long while
and why it seems to be doing just that, it refuses to replicate my root
partition. the cat /proc/drbd outputs:

version: 8.0.11 (api:86/proto:86)
GIT-hash: b3fe2bdfd3b9f7c2f923186883eb9e2a0d3a5b1b build by
buildsvn at c5-i386-bui
ld, 2008-03-09 10:26:33
 0: cs:WFConnection st:Secondary/Unknown ds:Diskless/DUnknown C r---
    ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0

and my drbd.conf file is:

global { usage-count no; }
resource repdata {
  protocol C;
  startup { wfc-timeout 0;
            degr-wfc-timeout     120; }

  disk { on-io-error detach; } # or panic, ...

  net {  cram-hmac-alg "sha512";
         shared-secret "r00tf0043v3r";
         after-sb-0pri discard-least-changes;
         after-sb-1pri discard-secondary;
         after-sb-2pri call-pri-lost-after-sb;
         rr-conflict call-pri-lost;}

  syncer { rate 10M; }

  on drdb1.latech {
    device /dev/drbd0;
    disk /dev/hde2;
    meta-disk /dev/hde5[0];
 on  drdb2.latech {
    device /dev/drbd0;
    disk /dev/hde2;
    meta-disk /dev/hde5[0];


Okoye D.C.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20080326/9192fae4/attachment.htm>

More information about the drbd-user mailing list