[DRBD-user] Commands freeze when accessing drbd device.

Francis SOUYRI francis.souyri at apec.fr
Tue Jan 10 10:17:06 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.


Hello,

When I try to access a drbd device, the command used freeze like that:

[root at noeud1 ~]# drbdsetup /dev/drbd0 primary --do-what-I-say
[root at noeud1 ~]# dd if=/dev/zero of=/dev/drbd0
dd: writing to `/dev/drbd0': No space left on device
262145+0 records in
262144+0 records out
**** no return ****

I have the same problem with the mke2fs command, when the two node are 
in sync and with the drbd 0.7.14...
I have some clusters with the drbd 0.7.14 with the linux kernel 
2.6.14-1.1653_FC4 (previous) that do not have this problem.

[root at noeud1 ~]# uname -a;cat /proc/drbd
Linux noeud1.apec.fr 2.6.14-1.1656_FC4 #1 Thu Jan 5 22:13:22 EST 2006 
i686 i686 i386 GNU/Linux
version: 0.7.15 (api:77/proto:74)
SVN Revision: 2020 build by root at francis.apec.fr, 2006-01-10 08:22:08
 0: cs:WFConnection st:Primary/Unknown ld:Consistent
    ns:0 nr:0 dw:0 dr:131072 al:0 bm:0 lo:2 pe:0 ua:0 ap:0
 1: cs:WFConnection st:Secondary/Unknown ld:Inconsistent
    ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
 2: cs:WFConnection st:Secondary/Unknown ld:Inconsistent
    ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
 3: cs:WFConnection st:Secondary/Unknown ld:Inconsistent
    ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0

[root at noeud1 ~]# drbdadm dump named
resource named {
    protocol               C;
    incon-degr-cmd       "echo '!DRBD! pri on incon-degr' | wall ; sleep 
60 ; halt -f";
    on noeud1 {
        device           /dev/drbd0;
        disk             /dev/vgroot/lvnamed;
        address          10.1.1.1:7788;
        meta-disk        internal;
    }
    on noeud2 {
        device           /dev/drbd0;
        disk             /dev/vgroot/lvnamed;
        address          10.1.1.2:7788;
        meta-disk        internal;
    }
    net {
        sndbuf-size      1024k;
        on-disconnect    reconnect;
    }
    disk {
        on-io-error      panic;
    }
    syncer {
        rate             200M;
        group              1;
        al-extents       257;
    }
    startup {
        wfc-timeout        0;
        degr-wfc-timeout 120;
    }
}

Thank you for your help.

Best regards

Francis



More information about the drbd-user mailing list