[Drbd-dev] DRBD contribution

Philipp Reisner philipp.reisner at linbit.com
Tue Apr 22 11:29:22 CEST 2008

> I need some clarification on the activities you suggested me to
> develop.
> >   3 Change drbdadm so that it allows multiple "on" sections per
> >     resource. -- One has to specify the peer he means on the
> >     commandline when use drbdadm connect.
> >     [for DRBD-8.2]
>   Here you are looking for 1 to n node replication? When we use
> drbdadm connect command, it uses this command internally
> drbdsetup /dev/drbd0 net C --set-defaults
> --create-device
>   Do i need to modify drbdsetup command to support multiple nodes?
> Please correct me if i am wrong.

Hi Azeez,

What I suggest is that the DRBD-driver and drbdsetup should stay as
they are. I suggest that you modify drbdadm so that one can specify
multiple on sections in a resource section.

As the driver and drbdsetup are two nodes only, one will then have
to select a peer node when calling drbdadm connect. So the command
line syntax of drbdadm will have to change as well. Maybe

drbdadm --to foo-node connect r0

: Dipl-Ing Philipp Reisner                      Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH          Fax +43-1-8178292-82 :
: Vivenotgasse 48, 1120 Vienna, Austria        http://www.linbit.com :

More information about the drbd-dev mailing list