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-devel

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

Hi,

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

Thanks,
Sébastien
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
xm_vhd_detach.txt
(doesn't seem to know anything about the device existence)

Hope this can help for debugging the things out :)

Cheers,
Sébastien





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

<Prev in Thread] Current Thread [Next in Thread>