[DRBD-user] Re: drbd hanging on file write

Vadim vadim at flora.lv
Fri Mar 24 11:06:40 CET 2006

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


<mailto:drbd-user at lists.linbit.com>in continue of .....
http://www.gossamer-threads.com/lists/drbd/users/9891#9896 
<mailto:drbd-user at lists.linbit.com>

also fedora core 4 2.6.15-1.1833_FC4smp
drbd hangs when second node offline.

will get the same problem next way:
#drbdadm primary all
#drbdadm disconnect all
# cat /proc/drbd
version: 0.7.17 (api:77/proto:74)
SVN Revision: 2111 build by xxx at fff.fff.fff, 2002-01-04 17:49:37
 0: cs:StandAlone st:Primary/Unknown ld:Consistent
    ns:107634 nr:0 dw:38003 dr:87491 al:35 bm:10 lo:0 pe:0 ua:0 ap:0


but if i'm try do anything (any writings) system hang (all processes 
that try writing go in state D)

may try do next:
#mkfs /dev/drbd0
and it's hangs ...

# drbdadm dump
global {
    minor-count 1;
}

resource HAData {
    protocol               C;
    incon-degr-cmd       "echo '!DRBD! pri on incon-degr' | wall ; sleep 
60 ; halt -f";
    on s02.flora.lv {
        device           /dev/drbd0;
        disk             /dev/sdb;
        address          10.0.2.2:7788;
        meta-disk        internal;
    }
    on s01.flora.lv {
        device           /dev/drbd0;
        disk             /dev/md0;
        address          10.0.2.1:7788;
        meta-disk        internal;
    }
    net {
        timeout           30;
        ping-int           5;
        max-buffers      2048;
        max-epoch-size   2048;
        ko-count           4;
        on-disconnect    reconnect;
    }
    disk {
        on-io-error      detach;
        size             134G;
    }
    syncer {
        rate             60M;
        group              1;
        al-extents       127;
    }
    startup {
        wfc-timeout       15;
        degr-wfc-timeout  60;
    }
}





More information about the drbd-user mailing list