[DRBD-user] drbd diskless / primary

David Graves admin at graves.com
Tue Dec 20 03:40:42 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.


Hi:

I'm running the following: 

drbd 8.4.0
centos 6.0
gfs2
2 node cluster

/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;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20111219/f718f855/attachment.htm>


More information about the drbd-user mailing list