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] Error: destorydevice ()

To: "Arpan Jindal" <jindalarpan@xxxxxxxxx>
Subject: Re: [Xen-users] Error: destorydevice ()
From: "Todd Deshane" <deshantm@xxxxxxxxx>
Date: Sat, 10 May 2008 15:56:23 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 10 May 2008 12:56:53 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=Xc2NFuV9xxJdl3GIrsgfGfwLWFg85ZL1yyFVoxAF+HU=; b=aWFGrdw0vBwsS5ZDalt1V2EIbUSSm4W1BlIdbv3PK5xUD+kSxVMBiRlkAi7Dcc+aaUK8ZMYLKQsKJejuOUErih1HqpH8LCozFKFopKo5HWXhtSo88ophy77lglUGwsywk0NpycYkXMztlCWKqr3sJKAMeFWtNVZX0n/uTvF9tew=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Wd15QsP+aIRz5+Wb2MhLgfgOH7HjhXEx67P2mvdIH25w4ON7EQINO/Ih/l0ZPHYGKJYTJmEp/OXX1jQophQ1Oz4b2iekwD/eNKjk25tT+H9O4rv+CxAlAX0lQ+wZNju4O/el3r+w69UXkCcKtU1NJF8yYoRAxVEXE99R631y6CQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <b2d4ab9d0805101250n2d261a0w433240664e4068d0@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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <b2d4ab9d0805100807q68ee6e90refa63f2ab38e403a@xxxxxxxxxxxxxx> <1e16a9ed0805100815y345bfb22g5b48ed163f232660@xxxxxxxxxxxxxx> <b2d4ab9d0805101058u393a4b32r35cc426dc97a228f@xxxxxxxxxxxxxx> <1e16a9ed0805101107t294ec52bq52c1a0e9896ff19e@xxxxxxxxxxxxxx> <b2d4ab9d0805101250n2d261a0w433240664e4068d0@xxxxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


On Sat, May 10, 2008 at 3:50 PM, Arpan Jindal <jindalarpan@xxxxxxxxx> wrote:
HI Todd

here are the output. and its showing that there are only 7 loop devices.
ls -l /dev/loop*
brw-r----- 1 root disk 7, 0 May 10 23:26 /dev/loop0
brw-r----- 1 root disk 7, 1 May 10 23:26 /dev/loop1
brw-r----- 1 root disk 7, 2 May 10 23:26 /dev/loop2
brw-r----- 1 root disk 7, 3 May 10 23:26 /dev/loop3
brw-r----- 1 root disk 7, 4 May 10 23:26 /dev/loop4
brw-r----- 1 root disk 7, 5 May 10 23:26 /dev/loop5
brw-r----- 1 root disk 7, 6 May 10 23:26 /dev/loop6
brw-r----- 1 root disk 7, 7 May 10 23:26 /dev/loop7

losetup -f
losetup: could not find any free loop device

losetup -a
/dev/loop0: [6805]:49155 (/xen/rhel1)
/dev/loop1: [6805]:49153 (/xen/rhel2)
/dev/loop2: [6805]:49154 (/xen/rhel3)
/dev/loop3: [6805]:49156 (/xen/rhel4)
/dev/loop4: [6802]:98032 (/en_windows_server_2003_standard.iso)
/dev/loop5: [6805]:49158 (/xen/rhel5)
/dev/loop6: [6805]:49159 (/xen/rhel6)
/dev/loop7: [6805]:49157 (/xen/rhel7)

how i can creatre more i have added entried there and moreover i have
started server to. tehn to its showing only 7 loop devices.


thanks

I just tested (on centOS 5.1)

rmmod loop
modprobe max_loop=64

with 888, it is too big. I think the max was around 255 or so.

Cheers,
Todd

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