[lxc-users] DRBD in LXC container?

Ranjib Dey dey.ranjib at gmail.com
Thu Jan 16 21:11:53 UTC 2014


since containers use the same kernel as host, you have to load those kernel
modules on the host. else spawn the container with elevated privileges (not
recommended)


On Thu, Jan 16, 2014 at 12:31 PM, Jeremiah Snapp
<jeremiah.snapp at gmail.com>wrote:

> Can DRBD be used inside an LXC container?
>
> I'm getting the following error.
>
> root at be1:~# drbdadm up pc0
>> Could not stat("/proc/drbd"): No such file or directory
>> do you need to load the module?
>> try: modprobe drbd
>> Command 'drbdsetup 0 disk /dev/opscode/drbd /dev/opscode/drbd internal
>> --set-defaults --create-device --on-io-error=detach' terminated with exit
>> code 20
>> drbdadm attach pc0: exited with code 20
>
>
> Thanks,
> Jeremiah
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140116/cab0f6f7/attachment.html>


More information about the lxc-users mailing list