[DRBD-user] Problem when stopping node1

stephane.purnelle at corman.be stephane.purnelle at corman.be
Wed Jul 26 11:59:25 CEST 2006

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


PHASE 1 : initial setup

* Set rules on node : 
node 1 : drbdadm primary all
node 2  : drbdadm secondary all

* cat /prod/drbd :
node 1 : 
version: 0.7.20 (api:79/proto:74)
SVN Revision: 2260 build by root at cortest-node1.int-corman.be, 2006-07-25 
16:52:39
 0: cs:SyncSource st:Primary/Secondary ld:Consistent
    ns:25008 nr:0 dw:0 dr:25008 al:0 bm:2 lo:0 pe:0 ua:0 ap:0
        [>...................] sync'ed:  0.5% (7251/7276)M
        finish: 5:09:24 speed: 292 (240) K/sec
 1: cs:SyncSource st:Primary/Secondary ld:Consistent
    ns:24936 nr:0 dw:0 dr:24936 al:0 bm:2 lo:0 pe:0 ua:0 ap:0
        [>...................] sync'ed:  0.3% (10145/10170)M
        finish: 7:12:53 speed: 272 (240) K/sec

node 2 :

version: 0.7.20 (api:79/proto:74)
SVN Revision: 2260 build by root at cortest-node2.int-corman.be, 2006-07-24 
13:36:20
 0: cs:SyncTarget st:Secondary/Primary ld:Inconsistent
    ns:0 nr:66624 dw:66624 dr:0 al:0 bm:6 lo:0 pe:0 ua:0 ap:0
        [>...................] sync'ed:  1.0% (7211/7276)M
        finish: 6:24:35 speed: 280 (240) K/sec
 1: cs:SyncTarget st:Secondary/Primary ld:Inconsistent
    ns:0 nr:66552 dw:66552 dr:0 al:0 bm:6 lo:0 pe:6 ua:0 ap:0
        [>...................] sync'ed:  0.7% (10105/10170)M
        finish: 8:58:56 speed: 260 (240) K/sec

PHASE 2 : prepare to shutdown
* changing rules 
node 1  : drbdadm secondary all
node 2 : drbdadm primary all

* cat /prod/drbd :
node 1 : 
version: 0.7.20 (api:79/proto:74)
SVN Revision: 2260 build by root at cortest-node1.int-corman.be, 2006-07-25 
16:52:39
 0: cs:SyncSource st:Secondary/Primary ld:Consistent
    ns:230937 nr:256 dw:563 dr:230800 al:0 bm:36 lo:6 pe:0 ua:6 ap:0
        [>...................] sync'ed:  3.2% (7051/7276)M
        finish: 6:16:03 speed: 280 (232) K/sec
 1: cs:SyncSource st:Secondary/Primary ld:Consistent
    ns:231398 nr:256 dw:515 dr:231273 al:0 bm:54 lo:6 pe:0 ua:6 ap:0
        [>...................] sync'ed:  2.3% (9944/10170)M
        finish: 8:50:22 speed: 268 (232) K/sec

node 2 : 
version: 0.7.20 (api:79/proto:74)
SVN Revision: 2260 build by root at cortest-node2.int-corman.be, 2006-07-24 
13:36:20
 0: cs:SyncTarget st:Primary/Secondary ld:Inconsistent
    ns:256 nr:215234 dw:215491 dr:20 al:0 bm:17 lo:0 pe:6 ua:0 ap:0
        [>...................] sync'ed:  3.0% (7066/7276)M
        finish: 8:22:29 speed: 236 (232) K/sec
 1: cs:SyncTarget st:Primary/Secondary ld:Inconsistent
    ns:256 nr:215747 dw:216003 dr:12 al:0 bm:17 lo:0 pe:0 ua:0 ap:0
        [>...................] sync'ed:  2.2% (9959/10170)M
        finish: 10:37:25 speed: 260 (232) K/sec


PHASE 3 : shutdown

node 1 : shutdowned
node : hangs

But why node2 is not consistent when primary ?

-----------------------------------
Stéphane PURNELLE                         stephane.purnelle at corman.be
Service Informatique       Corman S.A.           Tel : 00 32 087/342467

drbd-user-bounces at lists.linbit.com a écrit sur 26/07/2006 10:40:12 :

> / 2006-07-26 11:59:52 +0530
> \ Milind Dumbare:
> > Is your hearbeat working?
> > /etc/init.d/heartbeat status?
> 
> has nothing to do with heartbeat.
> 
> > I faces same problem without heartbeat.
> 
> as you seem to know :]
> 
> > > Hi,
> > > 
> > > today I setup to linux server with drbd 0.7.20.
> > > All work fine, but when I set the node2 with command drbdadm --
> > > primary all and setup the node 1 to secondary all and I shutdown the
> > > node1, the node 2 hangs and do a kernel panic
> 
> well.
> cat /proc/drbd before you shutdown node1?
> 
> -- 
> : Lars Ellenberg                                  Tel +43-1-8178292-0  :
> : LINBIT Information Technologies GmbH            Fax +43-1-8178292-82 :
> : Schoenbrunner Str. 244, A-1120 Vienna/Europe   http://www.linbit.com :
> __
> please use the "List-Reply" function of your email client.
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20060726/6607746e/attachment.htm>


More information about the drbd-user mailing list