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

Re: [Xen-users] Device 2049 (vbd) could not be connected. Backenddevice not found.



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.