Linux increase number of loop filesystems allowed to be mounted simultaneously

by on August 29, 2007 · 1 comment· Last updated August 29, 2007

You can mount DVD / CD iso images using loop module under Linux (Sun Solaris UNIX user can try out lofiadm command) . It would be good idea to increase the number of loop filesystems allowed to be mounted simultaneously by adding the following line to /etc/modprobe.conf file:

Task: Set maximum number of loop devices

Open Linux kernel module configuration file using text editor:
# vi /etc/modprobe.conf

Append loop module configuration parameter:
options loop max_loop=256

Where,
=> loop : module name

=> max_loop=256: Maximum number of loop devices (1-256)

This is useful on dedicated installation server. For example internally we have over 5 Linux distro ISO downloaded with new and old version number. We use iso for HTTP or FTP installation over LAN. By increasing limit to max you can avoid problems.



You should follow me on twitter here or grab rss feed to keep track of new changes.

Featured Articles:

{ 1 comment… read it below or add one }

1 fraterneo April 25, 2013 at 4:34 am

Hello. This site is a great source for help in Linux issues. Thanks for all your work.

Right now I am trying to edit the file /etc/modprobe.conf under Fuduntu (Fedora based distro) but it does no exists and modinfo loop says ERROR: Module loop not found.

Please, help me.

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 6 + 6 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.




Tagged as: , , ,

Previous post:

Next post: