Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
> -----Original Message----- > From: drbd-user-bounces at linbit.com > [mailto:drbd-user-bounces at linbit.com] On Behalf Of Peter Bagger > Sent: Friday, November 03, 2006 7:55 AM > To: drbd-user at linbit.com > Subject: [DRBD-user] DRBD in Diskless/Inconsistent > state,can't change state to Primary > > Hi All, > I can't get one of the disk into Primary state. I have tried > a lot and been on Google a lot... I am using/tesing on 8.0 > because I what to use primary/primary later on. > > I am running a test enverment with 2 identical machines > (environment) with 3 pcs hard disks, for OS, metadata and DRBD. > The Machines are running Debain Etch, and DRBD are install as > Debian packages. > > DRBD says version 8.0pre5. > > ----- > cat /proc/drbd says > version: 8.0pre5 (api:84/proto:83) > SVN Revision: 2481M build by root at drbd64, 2006-11-01 16:42:55 > 0: cs:Connected st:Secondary/Secondary ds:Diskless/Inconsistent r--- > ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 > > and > SVN Revision: 2481M build by root at drbd64, 2006-11-01 16:42:55 > 0: cs:Connected st:Secondary/Secondary ds:Inconsistent/Diskless 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 > ----- > > and when I tryed to make one off the active I get the follow error > > drbd64:~# drbdadm primary all > State change failed: (-2) Refusing to be Primary without at > least one UpToDate disk > > and if I do > > drbd64:~# drbdadm -- --do-what-I-say primary all > > drbdsetup: unrecognized option '--do-what-I-say' > Command 'drbdsetup /dev/drbd0 primary --do-what-I-say' terminated > with exit code 20 > drbdsetup exited with code 20 > drbd64:~# > > ------- > --do-what-I-say seems to be deprecated now. Try "drbdsetup /dev/drbd0 primary -o" and for more details look at the -o paramter in the drbdsetup man page. Chris