Hi,
When I try to launch more than 9 LXC containers after reboot, it seems to fail. When attempting from CLI I get this from the output of 'lxc-start" -
lxc-start 20150427012246.584 ERROR bdev - bdev.c:find_free_loopdev:1907 - No loop device found
lxc-start 20150427012246.584 ERROR lxc_conf - conf.c:mount_rootfs:883 - No such file or directory
This is due to the number of LOOP devices being restricted to 9.
"ls -ls /dev | grep loop | wc -l" outputs "9".
Attempts to increase the loop devices to something more reasonable fails -
(by adding a new file to /etc/modprobe.d/local-loop.conf with this content: "options loop max_loop=64")
However I can't reload loop via modprobe as it's inbuilt into the kernel any attempts to increase the loop devices has so far not succeeded.
To replicate this bug simply setup more than 9 lxc containers with them all set to start on boot and reboot and you will see that only 9 will start.
Any ideas?
Regards - Harrison
When I try to launch more than 9 LXC containers after reboot, it seems to fail. When attempting from CLI I get this from the output of 'lxc-start" -
lxc-start 20150427012246.584 ERROR bdev - bdev.c:find_free_loopdev:1907 - No loop device found
lxc-start 20150427012246.584 ERROR lxc_conf - conf.c:mount_rootfs:883 - No such file or directory
This is due to the number of LOOP devices being restricted to 9.
"ls -ls /dev | grep loop | wc -l" outputs "9".
Attempts to increase the loop devices to something more reasonable fails -
(by adding a new file to /etc/modprobe.d/local-loop.conf with this content: "options loop max_loop=64")
However I can't reload loop via modprobe as it's inbuilt into the kernel any attempts to increase the loop devices has so far not succeeded.
To replicate this bug simply setup more than 9 lxc containers with them all set to start on boot and reboot and you will see that only 9 will start.
Any ideas?
Regards - Harrison