From this answer the solution is tomodprobe loop max_loop=64Which makes me allowed to use 64 loopback devices thenmknod -m 660 /dev/loop8 b 7 8To create the devices. I did this for 8, 9, 10 and 8,9 works but 10 does not.I then tried loopa to loopf and tried to mount a 11th device and i get the error Error: Failed to set up a loop device:How do I make >10 loop devices?
How do I setup more then 10 loopback device?
linux;devices;loop device
Make sure you are running mknod -m 660 /dev/loop10 b 7 10. The format is mknod -m 660 /dev/loop<ID> b 7 <ID> where ID is the same.Update [07/10/2014]I also found a good blog post to always have more at boot. See https://yeri.be/xen-failed-to-find-an-unused-loop-deviceUpdate [05/25/2016]I run a CentOS server, and I found that this post was also helpful when the other methods don't work.This makes my new favorite method:MAKEDEV /dev/loopIt creates 256 loop devices (which is the max without modifying the kernel).