[lxc-users] DRBD in LXC container?

Serge Hallyn serge.hallyn at ubuntu.com
Fri Jan 17 22:30:37 UTC 2014


Quoting Jeremiah Snapp (jeremiah.snapp at gmail.com):
>  Looking at
> 
> > drivers/block/drbd/drbd{_main,nl}.c and
> > include/linux/genl_magic_{struct,func}.h I don't indeed see any
> > enforcement of netns.
> >
> >
> Sorry. Please excuse my ignorance. Does your last statement continue to be
> positive? Does your initial code analysis lead you to believe drbd in a
> container might be possible?

Yes, it looks like it might be possible from that side.

> I wish there were examples of other people doing this but I haven't found
> much yet.
> 
> Thanks for being so helpful.

Ah, here is part of why I'm confused.  In fact I haven't looked into
this before, rather someone wanted to use iscsi, which I do think has
the init-net-ns restriction
(https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1226855)

Please let us know what you find :)

-serge


More information about the lxc-users mailing list