[DRBD-user] drbd read-only mode

Trevor Hemsley themsley at voiceflex.com
Thu Mar 15 15:32:55 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.


ro: is short for Role, not readonly

On 15/03/12 14:31, зоррыч wrote:
>
> Read-only  flag stands on two nodes.
>
> I will use a cluster file system (ocfs2 of gfs2) for the correct
> operation of the two disks
>
>  
>
>  
>
>  
>
>  
>
>  
>
> *From:*Marcelo Pereira [mailto:marcelops at gmail.com]
> *Sent:* Thursday, March 15, 2012 6:26 PM
> *To:* ??????
> *Subject:* Re: [DRBD-user] drbd read-only mode
>
>  
>
> Why do you want it to be primary on both nodes?????
>
> --Marcelo
>
>
> On Mar 15, 2012, at 10:21 AM, "??????" <zorro at megatrone.ru
> <mailto:zorro at megatrone.ru>> wrote:
>
>     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 <mailto: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 <http://noc-1-synt.rutube.ru> {
>
>            # IP address:port
>
>            address 10.1.20.10:7788;
>
>         }
>
>         on noc-1-m77.rutube.ru <http://noc-1-m77.rutube.ru> {
>
>            address 10.2.20.9:7788;
>
>         }
>
>     }
>
>     [root at noc-1-synt /]#
>
>      
>
>      
>
>      
>
>     _______________________________________________
>     drbd-user mailing list
>     drbd-user at lists.linbit.com <mailto:drbd-user at lists.linbit.com>
>     http://lists.linbit.com/mailman/listinfo/drbd-user
>

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


More information about the drbd-user mailing list