[DRBD-user] primary/secondary problem

Lars Ellenberg Lars.Ellenberg at linbit.com
Tue Jun 13 09:50:47 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.


/ 2006-06-13 09:22:43 +0200
\ Gernot W. Schmied:
> Lars Ellenberg wrote:
> > / 2006-06-11 23:22:38 +0200
> > \ Gernot W. Schmied:
> >> Hi,
> >>
> >> Since my migration (didn't change a thing!)
> >> to newest Ubuntu my DRBD

"didn't change a thing" ... but the complete system.
may I ask you what you did migrate from?

> >> setup (0.7.17 on both machines) on my primary machine suddenly insists
> >> to remain in "secondary" mode. Any idea why?
> > 
> > well.
> > what do you mean by "insist"?
> > if you tell it to become primary, what exactly does happen?
> > how do you try to do the "drbdadm primary all"?
> > 
> 
> Hmm, the primary node so far always remained primary after setting it
> once regardless of the secondary being reachable and it maintained that
> state regardless of restarting drbd via /etc/init.d/drbd.
> Now it always returns to secondary state when I stop/restart drbd after
> declaring it primary with "drbdadm primary all" before mounting my file
> systems. Maybe it is supposed to be that way but I'd like to understand
> why. Why does it return to secondary state when I stop drbd?

I'd rather ask "what does switch drbd to primary".
the init script (at least my init script) does not.

-- 
: Lars Ellenberg                                  Tel +43-1-8178292-0  :
: LINBIT Information Technologies GmbH            Fax +43-1-8178292-82 :
: Schoenbrunner Str. 244, A-1120 Vienna/Europe   http://www.linbit.com :
__
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list