[DRBD-user] Feature request: drbd volumes useable in 1 host configurations

Dan Gahlinger dgahling at gmail.com
Sun May 27 21:02:24 CEST 2007

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


This already exists.

Simply create the config for the second node even though it doesn't
exist and do the
Drbdadn -- primary all --do-what-i-say
Bit and voila!

Then you can add the second node when ready

On 5/27/07, Mike Tewner <tewner at gmail.com> wrote:
> While setting up drbd for the first time last week, I tried for hours
> to get this to work - a co-worker told me it was possible.
>
> At the moment, I only had one computer, and its disk was partitioned
> the way we wanted it. I wanted to move on to other parts of the system
> configuration with the knowledge that drbd was 90% functional before I
> mirrored the drive to the second node. Then, All I'd have to do was
> add the new host to the configuration.
>
>
> On 5/25/07, Lars Ellenberg <lars.ellenberg at linbit.com> wrote:
> > On Fri, May 25, 2007 at 01:11:04AM -0700, Joe Bill wrote:
> > > Hello all,
> > >
> > > I would like DRBD to be able to "enable" a drbd volume
> > > even though only 1 host is defined to access it.
> > >
> > > Today if only 1 host is defined, this is what is
> > > returned at DRBD startup:
> > >
> > > #/etc/init.d/drbd start
> > > Starting DRBD resources:    /etc/drbd.conf:10: in
> > > resource drbdv-test:
> > >         missing section 'on <PEER> { ... }'.
> > > /etc/drbd.conf:10: in resource drbdv-test:
> > >         missing section 'on <PEER> { ... }'.
> > > /etc/drbd.conf:10: in resource drbdv-test:
> > >         missing section 'on <PEER> { ... }'.
> > >
> > > Of course, drbd should be able to handle online
> > > configuration modifications to add/remove a second
> > > host to the configuration of any drbd volume.
> > >
> > > Additionally, this capability should also allow the
> > > removal of all hosts from the configuration of a drbd
> > > volume, as to preserve the volume's data, until a
> > > new host is included in the drbd volume's configuration,
> > > as to make the data previously stored
> > > on that drbd volume available to this new host.
> > >
> > > Thank you for your feedback.
> >
> > use "on dummy-does-not-exist {}", or something like that.
> > or ignore drbd.conf, and drbdadm, and use drbdsetup directly,
> > if you feel like it.
> >
> > or write a patch that supports your proposal,
> > while retaining current functionality.
> >
> > I still fail to see why this would be useful, though.
> >
> > --
> > : Lars Ellenberg                            Tel +43-1-8178292-0  :
> > : LINBIT Information Technologies GmbH      Fax +43-1-8178292-82 :
> > : Vivenotgasse 48, A-1120 Vienna/Europe    http://www.linbit.com :
> > __
> > please use the "List-Reply" function of your email client.
> > _______________________________________________
> > drbd-user mailing list
> > drbd-user at lists.linbit.com
> > http://lists.linbit.com/mailman/listinfo/drbd-user
> >
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>



More information about the drbd-user mailing list