[DRBD-user] HELP ... Primary becomes StandAlone.

Regis Gras Regis.Gras at ujf-grenoble.fr
Mon Jun 19 15:10:41 CEST 2006

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


I do'nt know why, but the Secondary try to become Primary, and
then, the Primary goes in the state StandAlone.

Now, how to do to have
Primary/Secondary Connected ld: Consistent ?????

I stopped drbd on the Secondary

The Primary is still:
cs:StandAlone st:Primary/Unknown ld:Consistent
On the Primary, I do the command
drbdadm connect all

The Primary is now:
WFConnection st:Primary/Unknown ld:Consistent

If, now, I restart the Secondary
The Primary becomes StandAlone
In /var/spool/message

Handshake successful: DRBD Network Protocol version 74
Connection established.
I am(P): 1:00000003:0000005f:00001370:00000005:10
Peer(S): 1:00000003:00000060:00001367:00000005:00
 Current Primary shall become sync TARGET! Aborting to prevent data 
corruption.


On the Secondary, I tried the command
drbdadm invalidate r0
But this command failed
ioctl(,INVALIDATE,) failed: Operation now in progress
Only in 'Connected' cstate possible.
Command 'drbdsetup /dev/drbd0 invalidate' terminated with exit code 20
drbdadm aborting


Could somebody help me. How to do to reconnect the too computers ?


-- 
==================================================================
| Régis Gras                 | http://www-ledss.ujf-grenoble.fr  |
| L.E.D.S.S.                 | mailto:Regis.Gras at ujf-grenoble.fr |
| 301, rue de la chimie      |         --------------            |
| DU BP 53                   | Tel 04 76 51 41 76                |
| 38041 Grenoble Cedex 9     | Fax 04 76 51 40 89                |
==================================================================




More information about the drbd-user mailing list