[DRBD-user] drbd problem

Digimer lists at alteeve.ca
Wed Jun 20 08:02:14 CEST 2012

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


On 06/20/2012 12:59 AM, Dagia Dorjsuren wrote:
> # cat /proc/drbd
> version: 8.3.11 (api:88/proto:86-96)
> srcversion: 71955441799F513ACA6DA60
>   0: cs:WFConnection ro:Secondary/Unknown ds:Diskless/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:f oos:0

The backup machine is not connected to it's local storage device 
(/dev/sda5). Depending on when that happened, the backup node may not be 
UpToDate anymore, and thus, you may not have an actual backup of your data.

To start, try typing:

drbdadm attach r0

If the line changes to:

0: cs:WFConnection ro:Secondary/Unknown ds:UpToDate/DUnknown

Then you can try promoting it to Primary with:

drbdadm primary r0

I suspect though that when it reconnects, it will be Inconsistent. At 
that point, you have trouble. Is the old primary beyond recovery?

-- 
Digimer
Papers and Projects: https://alteeve.com





More information about the drbd-user mailing list