On Tue, Sep 1, 2015 at 4:13 AM, Peter Steele <pwste...@gmail.com> wrote:

> lxc.cgroup.devices.allow = b 8:3 rwm
>
> and restarted my container. This didn't seem to do the trick through.
> Running this command on the host however did do the trick:
>
> # mknod -m 777 /var/lib/lxc/test/rootfs.dev/sda3 b 8 3
>
> I assume the parameter lxc.cgroup.devices.allow is intended to do
> something like this in an automated fashion, and I'd rather use this
> parameter than running mknod explicitly. What am I missing?
>
>
Nope. lxc.cgroup allows you to create and access the block device, but you
still need to create the device node yourself.

-- 
Fajar
_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to