[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] How to increase loop device


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Stephen Liu <satimis@xxxxxxxxx>
  • Date: Fri, 26 Sep 2008 00:17:01 +0800 (CST)
  • Delivery-date: Thu, 25 Sep 2008 09:17:38 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=1hiD8Vr6vQ1MGfMLTnBY2YQGp/1mENhEAG/HSfLyemXS756s45irMDopgUjFF+PTiHv8BV1leFCYCLE7yIy5ivoQ7ttSOcF0A6rHaDhE7tWJqowVV1b8DSIGMFPvzHeCqBCs9+9sMgrytfvWruPMe1lUgwoCTp94w7jovzfnxMI=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

--- Jean-Michel Bonnefond <pompon2@xxxxxxxxx> wrote:

> I think you could pass it as an option to your kernel at boot time,
> if you
> use grub, add
>  max_loop=64
> at the end of your kernel line, then reboot the server and look how
> much
> devices are declared in /dev/loop*
> 
> JM.


Hi Jean-Michel,


Thanks for your advice.  It works for me.


Steps performed as follows;


1)
Re-edit /etc/modules
reverting the content to its original state.


2)
Reboot PC


At boot on the menu press "e" -> highlight kernal line, then pressing
'e" again -> adding max_loop=64 at the end of the line -> Enter ->
press "b" to boot.


$ ls /dev/ | grep loop 
loop0
...
...
loop63


Approx how many domUs can be run concurrently on an AMD Dual-Core
2.6GHz PC with 4G Ram on board?  All servers are headless,  TIA


B.R.
Stephen




> 
> 2008/9/25 Stephen Liu <satimis@xxxxxxxxx>
> 
> >
> > --- Dominik Vogt <dominik.vogt@xxxxxxxxxxxx> wrote:
> >
> > > Am Donnerstag, den 25.09.2008, 15:05 +0800 schrieb Stephen Liu:
> > > > --- Dominik Vogt <dominik.vogt@xxxxxxxxxxxx> wrote:
> > >
> > > >
> > > > I don't have this file on /etc/modprobe.d/
> > >
> > > So you have to create it :-) you can also name the file "xen" or
> what
> > > ever. After this you just have to do
> > >
> > > rmmod loop
> > > modprobe loop
> >
> >
> > Performed following steps;
> >
> >
> > # vi /etc/modprobe.d/xen
> > adding following line;
> > options loop max_loop=64
> >
> >
> > # rmmod -v loop
> > ERROR: Module loop does not exist in /proc/modules
> >
> >
> > # modprobe loop
> > FATAL: Module loop not found.
> >
> >
> > # grep -i loop /boot/config-`uname -r`
> > CONFIG_BLK_DEV_LOOP=y
> > CONFIG_BLK_DEV_CRYPTOLOOP=m
> > CONFIG_XEN_NETDEV_LOOPBACK=y
> >
> >
> > loop is not a module.  What can I do?  TIA
> >
> >
> > B.R.
> > Stephen L
> >
> >
> > > > >
> > > > > With 64 loop devices you can run up to 32 guests on your
> host,
> > > > > assuming
> > > > > you aren't using loop devices for any other purposes.
> > > > >
> > > > > cheers
> > > > >
> > > > > Am Donnerstag, den 25.09.2008, 14:37 +0800 schrieb Stephen
> Liu:
> > > > > > Hi folks,
> > > > > >
> > > > > >
> > > > > > Debian Etch - host and guest.
> > > > > >
> > > > > >
> > > > > > I'm only allowed running 6 domUs simulataneously.  On
> starting
> > > the
> > > > > 7th
> > > > > > domU it complains;
> > > > > >
> > > > > > $ sudo xm create /etc/xen/xen7.satimis.com.cfg
> > > > > > Using config file "/etc/xen/xen7.satimis.com.cfg".
> > > > > > Error: Device 769 (vbd) could not be connected. Failed to
> find
> > > an
> > > > > > unused loop device.
> > > > > >
> > > > > >
> > > > > > $ ls /dev/loop/*
> > > > > > /dev/loop/0
> > > > > >
> > > > > >
> > > > > > Please advise how to fix the problem.  TIA
> > > > > >
> > > > > >
> > > > > > B.R.
> > > > > > Stephen L
> > > > > >
> > > > > > Send instant messages to your online friends
> > > > > http://uk.messenger.yahoo.com
> > > > > >
> > > > > > _______________________________________________
> > > > > > Xen-users mailing list
> > > > > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > > > > http://lists.xensource.com/xen-users
> > > > > --
> > > > > Dominik Vogt
> > > > > Informatikbetreuer
> > > > > Universität Bern
> > > > > Institut für medizinische Lehre (IML)
> > > > > Abteilung für Assessment und Evaluation (AAE)
> > > > > Inselspital 37a
> > > > > CH-3010 Bern
> > > > >
> > > > > Phone: 031 632 3584
> > > > > Mail: dominik.vogt@xxxxxxxxxxxx
> > > > >
> > > >
> > > >
> > > > Send instant messages to your online friends
> > > http://uk.messenger.yahoo.com
> > > >
> > > > _______________________________________________
> > > > Xen-users mailing list
> > > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > > http://lists.xensource.com/xen-users
> > > --
> > > Dominik Vogt
> > > Informatikbetreuer
> > > Universität Bern
> > > Institut für medizinische Lehre (IML)
> > > Abteilung für Assessment und Evaluation (AAE)
> > > Inselspital 37a
> > > CH-3010 Bern
> > >
> > > Phone: 031 632 3584
> > > Mail: dominik.vogt@xxxxxxxxxxxx
> > >
> >
> >
> > Send instant messages to your online friends
> http://uk.messenger.yahoo.com
> >
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
> >
> 


Send instant messages to your online friends http://uk.messenger.yahoo.com 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.