Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Andreas Haase schrieb: > Hi, > > Am Dienstag, den 18.12.2007, 13:56 +0100 schrieb Tomasz Chmielewski: >> Ouch - primary is gone! Why? Do I have to set up the primary each time >> after drbd starts? > > you have to finish the initial full sync before switching over or > stopping a drbd ressource. If you don't, the full sync will start > again. To be precise, not the full sync, but what was not synced already. And no, after a full sync, and restarting drbd on the primary, the primary is gone again: # cat /proc/drbd version: 8.2.1 (api:86/proto:86-87) GIT-hash: 318925802fc2638479ad090b73d7af45503dd184 build by root at san2, 2007-12-17 13:43:47 1: cs:Connected st:Primary/Secondary ds:UpToDate/UpToDate C r--- ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 resync: used:0/31 hits:0 misses:0 starving:0 dirty:0 changed:0 act_log: used:0/127 hits:0 misses:0 starving:0 dirty:0 changed:0 # /etc/init.d/drbd stop Stopping all DRBD resources. # /etc/init.d/drbd start Starting DRBD resources: [ d0 s0 n0 ]. # cat /proc/drbd version: 8.2.1 (api:86/proto:86-87) GIT-hash: 318925802fc2638479ad090b73d7af45503dd184 build by root at san2, 2007-12-17 13:43:47 1: cs:Connected st:Secondary/Secondary ds:UpToDate/UpToDate C r--- ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 resync: used:0/31 hits:0 misses:0 starving:0 dirty:0 changed:0 act_log: used:0/127 hits:0 misses:0 starving:0 dirty:0 changed:0 What's wrong with my setup? -- Tomasz Chmielewski http://wpkg.org