Chinese Yellow Pages | Classifieds | Knowledge | Tax | IME

lxc /dev increased from 100k to 500k and some other minor issues

While using lxc container, one annoying thing is the disk size of /dev was limited to 100k by default, with some hardware ( with lxc.autodev=1), the /dev could go beyond 100k.

discussed on the github:, followed the suggestion from Stéphane Graber (stgraber)

I submitted the patch to increase the /dev is to 500k ( though it maybe better to make it configurable.)

I was amazed by the speed of LXC community reacting on this including  accepting the patch and merging the code into the master branch!


Other issues you may have if you directly compile the code from: on debian

if you have issue like:

lxc-start: No such file or directory – failed to mount ‘/sys/fs/fuse/connections’ on ‘/usr/local/lib/lxc/rootfs/sys/fs/fuse/connections’

you need to: apt-get install fuse

if you have issue like:

LXC start error : setup_caps: 2337 unknown capability mac_admin

apt-get install install libcap-dev

then recompile your lxc should fix it.


Please rate this

Leave a Reply