Hello Yannis,

I tried that, same result, won't switch to primary.


Daniel

On Fri, Nov 2, 2018 at 9:14 PM, Yannis Milios <[email protected]>
wrote:

> Try adding --force parameter in drbdadm command.
>
>
>
> On Friday, November 2, 2018, Daniel Hertanu <[email protected]> wrote:
>
>> Hi,
>>
>> I'm running two nodes with DRBD 9 and I want to simulate a primary node
>> crash followed by restoring the access to the data on the secondary node
>> left.
>>
>> So, having the sync done between the hosts I'm disconnecting the network
>> to the primary to simulate the crash.
>> All my attempts to promote the secondary to primary so I can mount the
>> drbd device and access the data have failed. Usually I'm getting this:
>>
>> [root@server2-drbd ~]# drbdadm primary resource01
>> resource01: State change failed: (-2) Need access to UpToDate data
>> Command 'drbdsetup primary resource01' terminated with exit code 17
>>
>> Can anyone help me?
>>
>> Thanks,
>>
>> Daniel
>>
>>
>
> --
> Sent from Gmail Mobile
>
> _______________________________________________
> drbd-user mailing list
> [email protected]
> http://lists.linbit.com/mailman/listinfo/drbd-user
>
>
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to