Maximum number of 8 loopback devices low for SC

Bug #498174 reported by Torsten Spindler
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
eucalyptus (Ubuntu)
Fix Released
High
Dustin Kirkland 

Bug Description

The default Ubuntu kernel provides only 8 loopback devices. Setting more is possible with the max_loop=<number> on the kernel boot parameters line in /boot/grub/grub.cfg. It would be great if this can be done automagically for a host configured as Storage Controller.

Background is that we had a training class this week where with 6 students creating volumes we were running out of volumes quickly. I realise that this might happen in larger clouds with many instances much faster.

Changed in eucalyptus (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Torsten Spindler (tspindler) wrote :

I just learned that the number of loop back devices is managed dynamically by the kernel. However, the number of actual loop back devices in /dev/ is set to 8 by default. Creating new ones can be done with

$ sudo mknod b 7 <number> /dev/loop<number>

Revision history for this message
Dustin Kirkland  (kirkland) wrote : Re: [Bug 498174] Re: Maximum number of 8 loopback devices low for SC

Actually, we have the following in the eucalyptus-nc upstart script:

        for i in $(seq 0 31); do
                [ -b /dev/loop$i ] || (mknod -m 660 /dev/loop$i b 7 $i
&& chown root:disk /dev/loop$i)
        done

I'll add it to the eucalyptus-sc upstart script as well.

Or perhaps just put it in the common one.

Changed in eucalyptus (Ubuntu):
importance: Wishlist → High
assignee: nobody → Dustin Kirkland (kirkland)
status: New → Triaged
Changed in eucalyptus (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eucalyptus - 1.6.2~bzr1103-0ubuntu2

---------------
eucalyptus (1.6.2~bzr1103-0ubuntu2) lucid; urgency=low

  [ Dustin Kirkland ]
  * debian/control: add a recommends on bridge-utils, and a suggests
    on aoetools, per feedback from Dan
  * debian/eucalyptus-common.eucalyptus.upstart, debian/eucalyptus-nc.upstart:
    move the loop device creation to the common upstart script, since several
    eucalyptus components need this, LP: #498174
  * clc/modules/bootstrap/eucalyptus-bootstrap.c: fix broken build, "true"
    was undefined
 -- Dustin Kirkland <email address hidden> Sat, 19 Dec 2009 07:53:56 -0600

Changed in eucalyptus (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.