[DRBD-user] Inconsistent state/get me out of hole

James Vanns james.vanns at framestore-cfc.com
Mon Nov 27 16:28:37 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.


So, after a fresh (and first time) install and carefully constructed (?)
configuration file I start the drbd service (on redhat FC6).
Unfortunately it broke :( I can't make either a primary or secondary
because it complains about not having one UpToDate disk - there is
nothing no these disks except the internal metadata. How can I fix this?

[root at jimmy lvm]# drbdadm primary all
State change failed: (-2) Refusing to be Primary without at least one
UpToDate disk

[root at jimmy lvm]# drbdadm invalidate all
State change failed: (-4) Refusing to be inconsistent on both nodes

[root at jimmy lvm]# drbdadm resume-sync all
Failure: (135) PauseFlagAlreadyClear

[root at jimmy lvm]# cat /proc/drbd 
version: 8.0pre6 (api:85/proto:85)
SVN Revision: 2585 build by root at jimmy.prod.local, 2006-11-23 13:14:30
 0: cs:Connected st:Secondary/Secondary ds:Inconsistent/Inconsistent 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/257 hits:0 misses:0 starving:0 dirty:0 changed:0
 1: cs:Connected st:Secondary/Secondary ds:Inconsistent/Inconsistent 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/257 hits:0 misses:0 starving:0 dirty:0 changed:0

Any help appreciated.

Regards,

Jim

PS. This is pre0.8 and I'm trying to use allow-two-primaries!

-- 
James Vanns
Systems Programmer
Framestore CFC Ltd.





More information about the drbd-user mailing list