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

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


  • To: "Stephen Liu" <satimis@xxxxxxxxx>
  • From: "Jean-Michel Bonnefond" <pompon2@xxxxxxxxx>
  • Date: Thu, 25 Sep 2008 17:31:09 +0200
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 25 Sep 2008 08:31:56 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=PPXu7RbFOeCi5oahzYiihbSZIDcO1w3+gfdZBkYQM3+vyrg3pvtJprFbuDLokhQGme L2rzM8a5Vm5e9N30BQ4P9mnnPrQsfoBnD71ADhqBZ6QzIf1bsJ0UuiJIM6HG8Vd272P2 ccEEet+fSNq0YM5tfRemkAA+GqodrxC4gIHps=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>


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.

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

_______________________________________________
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®.