[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 192.168.1.191:19010 192.168.1.192:18999 C -m
>>> --create-device
>>> B: /sbin/drbdsetup 10 net 192.168.1.192:19010 192.168.1.191:19010 C -m
>>> --create-device
>>
>> I count three ports:
>> 192.168.1.191:19010
>> 192.168.1.192:19010
>> 192.168.1.192:18999
>>
>> 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 192.168.1.192:19005 192.168.1.191:19005 C -m 
--create-device
A: /sbin/drbdsetup 5 net 192.168.1.191:19005 192.168.1.192:19005 C -m 
--create-device

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