Try adding --force parameter in drbdadm command.


On Friday, November 2, 2018, Daniel Hertanu <dhert...@blinc.co> 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
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to