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

trekker.dk at abclinuxu.cz trekker.dk at abclinuxu.cz
Fri Jan 7 13:12: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.


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


>
> Why don't you just "drbdadm up" on A and
> "drbdadm syncer ; drbdadm connect" on B?

Those commands mentioned above are generated by an admin software and 
state data (paths to backing storage, net connections etc.) for each 
DRBD are stored in database; the software doesn't create any 
configuration files drbdadm needs.

>
> Regards,
> Felix

Thanks very much
JB



More information about the drbd-user mailing list