[DRBD-user] Access to drbd resources on second server

Simon Ironside sironside at caffetine.org
Wed Jun 1 12:39:53 CEST 2016

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On 01/06/16 11:14, For at ll wrote:

> cat /proc/drbd
> version: 8.3.7 (api:88/proto:86-91)
> srcversion: EE47D8BF18AC166BE219757
>  0: cs:WFConnection ro:Secondary/Unknown ds:Consistent/DUnknown C r----
>     ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
>  1: cs:WFConnection ro:Secondary/Unknown ds:Consistent/DUnknown C r----
>     ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
>  2: cs:WFConnection ro:Secondary/Unknown ds:Consistent/DUnknown C r----
>     ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
>
> I try change it to the primary with force but I get error message:
>
> drbdadm primary --force r2
> 2: State change failed: (-2) Refusing to be Primary without at least one
> UpToDate disk
> Command 'drbdsetup 2 primary' terminated with exit code 17

I think you're trying to use a DRBD 8.4 command with an 8.3 install. Try 
this instead:

drbdadm -- -o primary r2

HTH,
Simon.



More information about the drbd-user mailing list