[prev in list] [next in list] [prev in thread] [next in thread] 

List:       drbd-user
Subject:    Re: [DRBD-user] DRBD in LXC
From:       Lars Ellenberg <lars.ellenberg () linbit ! com>
Date:       2014-06-01 20:09:41
Message-ID: 20140601200941.GG12754 () soda ! linbit
[Download RAW message or body]

On Sat, May 31, 2014 at 10:48:09PM +1000, Igor Cicimov wrote:
> Hi all,
> =

> I've been searching for a solution about this but couldn't find anything
> but couple of threads ending without any outcome.
> =

> I have drbd-8.4.4 installed in Ubuntu-12.04 container running on
> Ubuntu-12.04 host. I can only create the metadata and then the try to bri=
ng
> the resource up fails with the following message:
> =

> root@lxc01:~# drbdadm up r0
> Could not connect to 'drbd' generic netlink family
> =

> The kernel module loads fine and /proc/drbd directory exists. For sure th=
is
> is not related to apparmor since I get the same issue with the service
> stopped on the host and rules teardown.
> =

> Has there been any solution for this or DRBD can't run inside linux
> container at all?

Possibly could be made to work.
Or not.
I don't know.

There is a lot of things that would need to be abstracted
into per container namespaces. I'm not even sure if all
the infrastructure to abstract device numbers is there yet,
even in recent kernels.

*IF* it can be made to work,
properly isolating different containers against each other would
require ... let's say "code changes" ... in the module
(there is only one kernel, so just one instance of this kernel module,
 there are many containers,
 it would likely need to become "container aware" on various levels).

Appart from that: I don't see the use case.
Having DRBD on the host, outside the containers,
and replicate the containers state and content
is a known working use case.

But what for would you want DRBD *inside* the container?


-- =

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

DRBD=AE and LINBIT=AE are registered trademarks of LINBIT, Austria.
__
please don't Cc me, but send to list   --   I'm subscribed
_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic