WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] How to increase loop device
From: Stephen Liu <satimis@xxxxxxxxx>
Date: Thu, 25 Sep 2008 23:29:57 +0800 (CST)
Delivery-date: Thu, 25 Sep 2008 08:30:34 -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=NqR1DyM2Tj+2wLSGYq/fXss03vY1r8bsoGPYOeff/PSbn3zYoOpDXGd66bLh778tl3QjI+/7BYlIrB8VpLYvDmjXPZBMMLmll5cYsCXXuKUlC+7USuIBB3+QB2UXjfwBCYbhDNnhkNuFTXqEyY7YFLE6FSo43YMkBmnqfvwg3ew=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <947e89d30809250706n32b731ffudbb70f78218f0397@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
--- Boris Quiroz <borisq22@xxxxxxxxx> wrote:

> 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.
> >> > >
- snip -

> 
> If you're using a debian-based distro, the file you're looking for
> uis
> /etc/modules
> There you must add the line loop max_loop=64 and then load the
> module.
> 
> cheers.


Hi Boris,


Thanks for your advice.


Debian Etch


Performed following steps.


# vi /etc/modules
There is only one word "loop" there.

changing it as;

loop max_loop=64


# modprobe modules
FATAL: Module modules not found.


# modprobe /etc/modules
FATAL: Module /etc/modules not found.


# depmod -a
# modprobe modules
FATAL: Module modules not found.


# insmod modules
insmod: can't read 'modules': No such file or directory


# insmod /etc/modules
insmod: error inserting '/etc/modules': -1 Invalid module format


Reboot PC.  


# /etc/init.d/module-init-tools restart
Loading kernel modules...done.


Still can't solve the problem.  Only 4 domU can be started.


# xm create /etc/xen/xen5.satimis.com.cfg
Using config file "/etc/xen/xen5.satimis.com.cfg".
Error: Device 770 (vbd) could not be connected. Failed to find an
unused loop device


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