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] Device 2049 (vbd) could not be connected. Backenddevice

To: Brian Lavender <brian@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] Device 2049 (vbd) could not be connected. Backenddevice not found.
From: Borja Sotomayor <borja@xxxxxxxxxxxx>
Date: Thu, 15 Dec 2005 15:18:37 -0600
Cc: Satoshi Uchida <s-uchida@xxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 15 Dec 2005 21:20:59 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1134619077.5486.14.camel@xxxxxxxxxxxxxxxxxxxxx>
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: <iss.47225e1f.4d7e.43a0db55.ba305.cd@xxxxxxxxxxxxxxx> <1134619077.5486.14.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051010)
Hi,

When the domain fails, try this.

for i in /dev/loop*
do
losetup $i
done

If you don't have any VM's running, and you see a loopback device
connected, it could be that somewhere in Xen (I believe xenstored) is
not releasing the losetup connection to the image file. I have seen some
problems with this in testing. You can manually delete the connection
using

My problem was different, because there were loopback devices that weren't being connected at all when creating a new domain. However, you did nudge me in the right direction. losetup revealed that my system has 16 /dev/loop's (loop0...loop15), but the kernel only supports the default 8. When creating the domain, Xen correctly connected to loop0 and loop1, but when checking for the "next available loop device", Xen picked loop10 (instead of loop2), which resulted in the error. Setting max_loop to 16 solved my problems :-) Thanks!

Cheers,
--
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Borja Sotomayor, University of Chicago
 Ph.D. Student, Department of Computer Science
 Hinds 016, 5734 South Ellis Avenue, 60637 Chicago, IL
GT4 Tutorial: http://gdp.globus.org/gt4-tutorial/
BorjaNet:  http://www.borjanet.com/   borja@xxxxxxxxxxxx
·····························································
         "Dis maschine vill run und run!"
               -- Kurt Gödel (on the Turing Machine)
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

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