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: deshantm@xxxxxxxxx
Subject: Re: [Xen-users] Error: destorydevice ()
From: "Arpan Jindal" <jindalarpan@xxxxxxxxx>
Date: Sun, 11 May 2008 01:20:00 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 10 May 2008 12:50:38 -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:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=jjygHPHTD1zp+CJIkSUPyL0lKiaFVbMhFloZs7yoZ5o=; b=hgkgI0rOxnr+76Wvp0ctlsi8puLvZGi1OryZ0ycbFfBQwg3ureWFhbMWhomp/tZY3mBy0itpLwgmQTsAs/WqGHvY/mdJkWey47RX335pn4/teYrCs5M4GL7u2b9pBZdJZpdg0GA002pL/tX3BcnToqZkN9/fKx8aig7Cxri0ovU=
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:content-transfer-encoding:content-disposition:references; b=czRv77b7LSc1PS9X7172WritktLG6Nwwn7j+DBGEIs70mUtyxD/Y7jx/vR8y+ZcaVePgpADyTqEvs+ZEepBvAmi+9W43vF6dleYP8pP2zbeoWNhHR/RupjEyLPLTAGKbcoHRZyBL6RswX51t7/gmvHA7N/BqObKVtAsjibJD7TU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1e16a9ed0805101107t294ec52bq52c1a0e9896ff19e@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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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


On 5/10/08, Todd Deshane <deshantm@xxxxxxxxx> wrote:
> Hi Arpan,
>
> On Sat, May 10, 2008 at 1:58 PM, Arpan Jindal <jindalarpan@xxxxxxxxx> wrote:
> > /boot/grub/grub.conf
> > title Red Hat Enterprise Linux Server (2.6.18-8.el5xen)
> > root (hd0,1)
> > kernel /boot/xen.gz-2.6.18-8.el5
> > module /boot/vmlinuz-2.6.18-8.el5xen ro root=LABEL=/ rhgb quiet
> > loop.max_loop=888
> > module /boot/initrd-2.6.18-8.el5xen.img
> >
> >
> >
> > /etc/modprobe.conf
> >
> > alias eth0 bnx2
> > alias eth1 bnx2
> > alias scsi_hostadapter cciss
> > alias peth0 bnx2
> > options loop max_loop=888
> >
> > I have changed the network setting earlier problem was with
> > loopbackdevices now I have changed them to 888 in grub.conf and
> > /etc/modprobe.conf but still I m not able to start virtual machines
> > more that 7 at a time I can only start 7 machines. Similar problem I
> > have faced in past but after inc the number of loop back devices
> > system started work is their any other place where I have to set this
> > number ?
> >
>
> check that you actually do have the loop devices.
>
> ls /dev/loop*
>
> losetup -f
> losetup -a
>
> Are you sure that the loop module is being loaded properly?
>
> Can you check the output of dmesg and also try running the
> modprobe loop max_loop= line manually.
>
> Cheers,
> Todd
>

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