[DRBD-user] Sync to the same IP

Lars Ellenberg lars.ellenberg at linbit.com
Thu Jun 26 11:11:23 CEST 2014

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

On Thu, Jun 19, 2014 at 01:23:56AM +0200, Alexey Orishko wrote:
> Hi all,
> I got recently across DRBD and it looks like a cool stuff.
> I wonder if someone could clarify for me if it is possible to
> configure DRBD to sync one block device to another block device on the
> same host?

yes you can
   (example of how to do that was provided in the thread already;
    yes you can use; no you don't need ip aliases)

No, I don't think that's a good idea.

On Sun, Jun 22, 2014 at 10:56:21PM +0200, Alexey Orishko wrote:
> On Sun, Jun 22, 2014 at 7:38 PM, Bret Mette <bret.mette at dbihosting.com> wrote:
> > I would still like to know what the purpose is for this. You're picking the
> > brains of the community for a solution to your problem, it would be nice to
> > give a little back and share the backstory about that problem.
> I want to figure out if DRBD is suitable for making a second copy of
> backup disk without stopping client.

Explain to me why md raid1 won't do what you want.
Same question to the
"Someone talked about this on some Amazon event,
and I want to do what he thinks is cool" fraction.

This is host based mirroring.
md raid1 is meant to do that.
Why not use it?

Oh, so you want it async...
Did you know about mdadm "write-mostly" and "write-behind"?

It's not that DRBD cannot do it.
It's just that I think it is the wrong tool for the job.
So please explain to me why you think otherwise.


: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

More information about the drbd-user mailing list