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 <[email protected]>wrote: > Can DRBD be used inside an LXC container? > > I'm getting the following error. > > root@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 > [email protected] > http://lists.linuxcontainers.org/listinfo/lxc-users >
_______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
