Skip to content

Commit

Permalink
Improved text about kernels with loop module compiled-in (Scott Worth…
Browse files Browse the repository at this point in the history
…ington)
  • Loading branch information
dagwieers committed Oct 17, 2011
1 parent 43b1a9e commit 42f7eef
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions docs/loop-devices.txt
@@ -1,11 +1,18 @@
Loop devices
============

If you see "mount: could not find any free loop device" you have
to increase the number of loop devices of the loop module.


Increasing the number of loop devices
-------------------------------------
If you see "mount: could not find any free loop device" you have
to increase the number of loop devices by adding the following
to /etc/modprobe.conf on a 2.6 kernel (or /etc/modules.conf on
Unfortunately some distributions (eg. SLES9 or RHEL6) has the loop module
compiled as aprt of the kernel, therefor you have to add 'max_loop=64' to
the kernel parameters directly and you require a reboot.

In case the loop module is a loadable module, you can simply add the
following to /etc/modprobe.conf on a 2.6 kernel (or /etc/modules.conf on
a 2.4 kernel).

----
Expand Down Expand Up @@ -49,9 +56,5 @@ An easy way to create more, is by doing:

You can have up to 256 loop devices mounted.

PS Unfortunately SLES9 has compiled the loop module inside the kernel,
therefor you have to add 'max_loop=64' to the kernel parameters directly
and you require a reboot.

---
Please send me improvements to this document.
Please send me improvements to this document.

0 comments on commit 42f7eef

Please sign in to comment.