Mailing List Archive

Unable to change device to primary
I am currently using Version: 8.3.9 and some how ended up having two
secondary. drbd0 is being marked as read only.
Is there any way i can recover from this situation.

0:mdt0 WFConnection Secondary/Unknown Inconsistent/Inconsistent C r-----

# drbdadm down mdt0
# drbdadm primary mdt0
0: State change failed: (-2) Need access to UpToDate data
Command 'drbdsetup 0 primary' terminated with exit code 17

Adde
Re: Unable to change device to primary [ In reply to ]
Did you try to read the manual???

On Mon, Jan 9, 2012 at 4:36 AM, Srirangam Addepalli <rangam@gmail.com> wrote:
> I am currently using Version: 8.3.9 and some how ended up having two
> secondary. drbd0 is being marked as read only.
> Is there any way i can recover from this situation.
>
>  0:mdt0  WFConnection Secondary/Unknown Inconsistent/Inconsistent C r-----
>
> # drbdadm down mdt0
> # drbdadm primary mdt0
> 0: State change failed: (-2) Need access to UpToDate data
> Command 'drbdsetup 0 primary' terminated with exit code 17
>
> Adde
>
> _______________________________________________
> drbd-user mailing list
> drbd-user@lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>
_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user