[DRBD-user] Is it possible to create diskless peer?

trekker.dk at abclinuxu.cz trekker.dk at abclinuxu.cz
Mon Jan 10 16:02:03 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 in this situation: Host A has a DRBD resource (primary, StandAlone)
>>> and I want to create a diskless peer for it in dual-primary setup on
>>> host B. So I do the following:
>>> A: /sbin/drbdsetup 10 net C -m
>>> --create-device
>>> B: /sbin/drbdsetup 10 net C -m
>>> --create-device
>> I count three ports:
>> Is this intentional?
> OMG. How to make a fool of myself in one easy step... overlooked that
> completely. Thanks for pointing that out.

Hmm, I just tried it with above mentioned error corrected and got to 
same result:

A: /sbin/drbdsetup 5 disk /dev/mapper/obrazy-vvsys5 
/dev/mapper/obrazy-vvsys5 internal --set-defaults --create-device
A: /sbin/drbdsetup 5 primary
B: /sbin/drbdsetup 5 net C -m 
A: /sbin/drbdsetup 5 net C -m 

... wait until connection is established (about 1 second)

B: /sbin/drbdsetup 5 primary

After that connection is dropped immediately and dmesg shows the same 
thing I pasted in previous e-mail. (Re-establishing the connection takes 
about 1 second in this case.)

Any ideas?

More information about the drbd-user mailing list