[DRBD-user] drbd read-only mode

?????? zorro at megatrone.ru
Thu Mar 15 15:21:57 CET 2012

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


Hi

I installed 8.4.1 drdb.

The cluster operates on a primary/primary mode.

However, the drives are mounted in the mode of read-only

[root at noc-1-m77 /]# cat /proc/drbd

version: 8.4.1 (api:1/proto:86-100)

GIT-hash: 91b4c048c1a0e06777b5f65d312b38d47abaea80 build by
root at noc-1-synt.rutube.ru, 2012-03-14 10:05:49

0: cs:Connected ro:Primary/Primary ds:UpToDate/UpToDate C r-----

                                  ^^

    ns:0 nr:0 dw:0 dr:664 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0

 

Why not activate the read-write mode?

 

Config:

[root at noc-1-synt /]# cat /etc/drbd.d/r0.res

# create new

resource r0 {

          startup {

            wfc-timeout 20;

            degr-wfc-timeout 10;

            # we will keep this commented until tested successfully:

            become-primary-on both;

          }

         net {

            protocol C;

            allow-two-primaries;

            after-sb-0pri discard-zero-changes;

            after-sb-1pri discard-secondary;

            after-sb-2pri disconnect;

 

        }

    # DRBD device

    device /dev/drbd0;

    # phisical device

    disk /dev/vg_noc1synt/lv02;

    meta-disk internal;

    on noc-1-synt.rutube.ru {

       # IP address:port

       address 10.1.20.10:7788;

    }

    on noc-1-m77.rutube.ru {

       address 10.2.20.9:7788;

    }

}

[root at noc-1-synt /]#

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20120315/f0db5440/attachment.htm>


More information about the drbd-user mailing list