[DRBD-user] (DRBD 9) promote secondary to primary with primary crashed

Daniel Hertanu dhertanu at blinc.co
Tue Nov 6 15:27:12 CET 2018


Hi,

I start fresh in the meantime and everything works fine now. The only
difference is that I added a third node without storage like in this post:
http://lists.linbit.com/pipermail/drbd-user/2017-March/023094.html


Thanks,

Daniel


On Tue, Nov 6, 2018 at 1:28 PM, Lars Ellenberg <lars.ellenberg at linbit.com>
wrote:

>
> Note, just adding "--force" if DRBD refuses to promote
> is usually a Very Bad Idea™.
> Because usually DRBD has a good reason to refuse promotion.
>
> And "forcing" the role change
> does NOT magically make the accessible data any better.
>
> On Fri, Nov 02, 2018 at 09:29:08PM +0200, Daniel Hertanu wrote:
> > Hello Yannis,
> >
> > I tried that, same result, won't switch to primary.
>
>
> Well, it says:
>
> > >> [root at server2-drbd ~]# drbdadm primary resource01
> > >> resource01: State change failed: (-2) Need access to UpToDate data
>
> Does it have "access to UpToDate data"?
>
> Why not?
>
> --
> : Lars Ellenberg
> : LINBIT | Keeping the Digital World Running
> : DRBD -- Heartbeat -- Corosync -- Pacemaker
>
> DRBD® and LINBIT® are registered trademarks of LINBIT
> __
> please don't Cc me, but send to list -- I'm subscribed
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20181106/d1a7ba10/attachment.htm>


More information about the drbd-user mailing list