Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
> Von: drbd-user-bounces at lists.linbit.com > [mailto:drbd-user-bounces at lists.linbit.com] Im Auftrag von > stephane.purnelle at corman.be > Gesendet: Mittwoch, 26. Juli 2006 11:59 > An: drbd-user at lists.linbit.com > Betreff: Re: [DRBD-user] Problem when stopping node1 > > [...] > > > 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 One possible answer: Taken from http://wiki.linux-ha.org/DRBD/HowTo "[...] Note that even though you can do so, it is a bad idea to have the SyncTarget be Primary, it will panic on a network failure, because it then has no more access to good data ... [...]" cs:SyncTarget st:Primary/Secondary <- The syncronisation process didn't finish before your shutdown or had a failure. Greetings, Markus i.A. Markus Saul -- Markus Saul Data Center Appointee Danet GmbH, Gutenbergstraße 10, 64331 Weiterstadt, Germany Phone: +49 6151 868-698, Fax: +49 6151 868- eMail: markus.saul at danet.de, URL: www.danet.com -------------------------------------------------------------- --------------------------------------------------------- Managing Board: Dr. Reiner Nickel (CEO), Dr. Burkhard Austermühl (CFO); Chairman of the Supervisory Board: Jaques Bentz; Address of Record: Weiterstadt; Commercial Register: Amtsgericht Darmstadt HRB 6450; Tax Number: DE 172 993 071