[lxc-users] getting started; how to add a block device to my container

Serge Hallyn serge.hallyn at ubuntu.com
Thu Jun 12 03:34:09 UTC 2014


Quoting Steven Howe (howe.steven at gmail.com):
> I have tried adding
>                  lxc.cgroup.device.allow = b 8:17 rwm
> to the config file, but that doesn't work.

What do you mean by "doesn't work"?  Are you not allowed to
create the device node?  (mknod /dev/sdb1 b 8 17)

> Also the time in the container and the host are different. Why?
> 
> Steven Howe

> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users



More information about the lxc-users mailing list