[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.


I'm running the following: 

drbd 8.4.0
centos 6.0
2 node cluster

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;
                meta-disk internal; 

        on vm4_1-local {
                device /dev/drbd1;
                disk /dev/mapper/VolGroup2-drbd;
-------------- 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