Chinese Yellow Pages | Classifieds | Knowledge | Tax | IME

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: https://github.com/lxc/lxc/issues/781, 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: https://github.com/lxc/lxc 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.

 

Leave a Reply

Your email address will not be published. Required fields are marked *