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

Re: [Xen-devel] xm/xl block-detach issue

  • To: "xen-devel@xxxxxxxxxxxxxxxxxxx"@mail.swisslink.ch
  • From: Sébastien Riccio <sr@xxxxxxxxxxxxxxx>
  • Date: Wed, 13 Jul 2011 10:32:39 +0200
  • Cc:
  • Delivery-date: Thu, 14 Jul 2011 06:13:05 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>


Nobody getting the same issues with xen 4.1.x and xl block-attach/detach of vhd files ?

As i'm stuck with that, I've tried to give a try with xen-unstable tree. Seems that the syntax for block-attach has changed. Anyone has a clue about how to attach
a vhd file as a block device using xl block-attach ?

also with 4.2-unstable
disk = [ 'tap:vhd:/cloud/data2/machines/vm1.vhd,xvda,w' ]

does not work any more

Parsing config file /cloud/data2/configs/vm1.test.cfg
libxl: error: libxl.c:1102:libxl_device_disk_local_attach: cannot locally attach a qdisk image if the format is not raw libxl: error: libxl_create.c:437:do_domain_create: failed to run bootloader: -3

On 12.07.2011 07:44, Sébastien Riccio wrote:
More informations coming:

Vhd attached with:

xl block-attach 2 tap:vhd:/cloud/data2/machines/vm2.vhd xvdb w

Strace results of detach attempt with xl block-detach in attached
file xl_vhd_detach.txt
(seems to receive an OK but it doesn't detach anything)

Strace results of detach attempt with xm block-detach in attached file
(doesn't seem to know anything about the device existence)

Hope this can help for debugging the things out :)


Xen-devel mailing list



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