Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Amos, On Thursday 06 December 2007 12:07:41 Amos Shapira wrote: > This is the state of the DRBD resource as I found it today: > > On the primary: > > # cat /proc/drbd > version: 8.0.6 (api:86/proto:86) > SVN Revision: 3048 build by buildsvn at c5-x8664-build, 2007-10-25 06:25:16 > > 1: cs:WFConnection st:Secondary/Unknown ds:Inconsistent/DUnknown 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 > > On the secondary: > # cat /proc/drbd > version: 8.0.6 (api:86/proto:86) > SVN Revision: 3048 build by buildsvn at c5-x8664-build, 2007-10-25 06:25:16 > > 1: cs:WFConnection st:Secondary/Unknown ds:Inconsistent/DUnknown 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 > > The primary boots as secondary, naturaly, and agrees to change to both > primary and secondary when I do a manual "drbdadm primary/secondary > all". I don't believe you. :-) If that first /proc/drbd output is authentic, then that node won't become Primary. For the same reason it refuses on the node you are referring to as "secondary". A resource won't be able to become Primary unless the node a) has an UpToDate local disk (with any connection state), or b) is Connected to a peer with an UpToDate disk. Btw, it is totally confusing to use "Primary" and "Secondary" to refer to two physical nodes. Primary and Secondary are roles that can change any second. If you are describing an issue than occurs on one physical node (regardless of current role), but not on another (again, regardless of current role), please refer to them as "node A" and "node B", or just share your real server names. Makes it much easier for everyone to follow. Cheers, Florian -- : Florian G. Haas : LINBIT Information Technologies GmbH : Vivenotgasse 48, A-1120 Vienna, Austria