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

Re: [Xen-users] Driver/Backend Domains


  • To: Matthew Mallozzi <matt.mallozzi@xxxxxxxxxx>
  • From: Fasiha Ashraf <feehapk@xxxxxxxxxxx>
  • Date: Fri, 3 Jul 2009 16:03:52 +0530 (IST)
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 03 Jul 2009 03:34:39 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=YySt5aRbvLuEQyIubHExwFlK9dRVqlg9cV/zvtYpLecPErRlT6ILl6Yoit2MGs8ynlA54HnU1m2gKCZODcX7xjSgv7YoRub6tLFmSqFfdp4XoclbxZNK5/PWYMEWtlIfmNOW1sNlfLZMW8FpVUJGXoQDVJGvU6I7GdKZBnjmqdk=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

"Error: Device 51744 (vbd) could not be connected. Hotplug
scripts not working.", which is quite vague."

You might have smaller no of loopback devices in your domain. By the default there are only 8 loops available. but you can increase the limit up to 256 max this way:-
1- Add this line to /etc/modprobe.conf
    options loop max_loop=256
2- The other way is to add 'loop' to /etc/modules
     and add the same above mentioned option in /etc/modprobe.d/options

Regards,
Fasiha Ashraf

--- On Fri, 3/7/09, Matthew Mallozzi <matt.mallozzi@xxxxxxxxxx> wrote:

From: Matthew Mallozzi <matt.mallozzi@xxxxxxxxxx>
Subject: [Xen-users] Driver/Backend Domains
To: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Friday, 3 July, 2009, 7:20 AM

Forgot to mention - I also put the option "blkif=1" in the configuration file for the intended driver domain.
----------------------
What is required for a PV domU to act as a driver domain for a block
device?  My goal is to attach a disk image file located within the domU
to dom0 as a block device.  The command I am running in dom0 is
   xm block-attach 0 file:/root/hdisk.img /dev/xvdb w 2,
where hdisk.img is the disk image file in domU, xvdb is the name of the
intended device node in dom0, and 2 is the domain ID of the domU.

My domU is a PV guest with its kernel replaced by the kernel from dom0,
and I have copied over both /etc/xen/scripts and
/usr/lib/python2.4/site-packages/xen from dom0 to the guest.  However,
whenever I attempt the above command, it sits for a while and then
returns with "Error: Device 51744 (vbd) could not be connected. Hotplug
scripts not working.", which is quite vague.

Thank you!


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


See the Web's breaking stories, chosen by people like you. Check out Yahoo! Buzz.
_______________________________________________
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®.