[DRBD-user] drbd diskless / primary

Lars Ellenberg lars.ellenberg at linbit.com
Wed Dec 28 13:16:35 CET 2011

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


On Mon, Dec 19, 2011 at 09:40:42PM -0500, David Graves wrote:
> Hi:
> 
> I'm running the following: 
> 
> drbd 8.4.0
> centos 6.0
> gfs2
> 2 node cluster

You may try with 8.4.1, or 8.3.12.

> /proc/drbd: 
> GIT-hash: 28753f559ab51b549d16bcf487fe625d5919c49c build by gardner@, 2011-08-26 23:24:30
> 
>  1: cs:Connected ro:Secondary/Primary ds:Diskless/UpToDate 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 can bring disconnect and reconnect the secondary node, and bring it primary as well.
> 
> It appears that I CANNOT change from Diskless
> 
> The file systems are visible from both systems yet they are out of sync.
> 
> Any thoughts?
> 
> ========= drbd conf ===========
> resource res0 {
>         startup {
>                 become-primary-on both;
>         }
> 
>         net {
>                 allow-two-primaries yes;
>                 after-sb-0pri discard-zero-changes;
>                 after-sb-1pri discard-secondary;
>                 after-sb-2pri disconnect;
>         }
> 
>         on vm3_1-local {
>                 device /dev/drbd1;
>                 disk /dev/mapper/VolGroup2-drbd;
>                 address 172.16.31.11:7789;
>                 meta-disk internal; 
>         }
> 
>         on vm4_1-local {
>                 device /dev/drbd1;
>                 disk /dev/mapper/VolGroup2-drbd;
>                 address 172.16.31.21:7789;

> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user


-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
__
please don't Cc me, but send to list   --   I'm subscribed



More information about the drbd-user mailing list