From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?S=E9bastien_Riccio?= Subject: Re: xm/xl block-detach issue Date: Wed, 13 Jul 2011 10:44:27 +0200 Message-ID: <4E1D5AEB.8010801@swisscenter.com> References: <4E186702.6050601@swisscenter.com> <4E188FC3.1010009@swisscenter.com> <1310288759.2685.356.camel@ramone> <4E19961F.9070109@swisscenter.com> <1310321977.2685.370.camel@ramone> <4E1B2E5C.2020402@swisscenter.com> <1310408578.14003.78.camel@agari.van.xensource.com> <4E1BDBE2.9090907@swisscenter.com> <4E1BDF37.5080004@swisscenter.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4E1BDF37.5080004@swisscenter.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Hi, Nobody getting the same issues with xen 4.1.x and xl block-attach/detach=20 of vhd files ? As i'm stuck with that, I've tried to give a try with xen-unstable tree.=20 Seems that the syntax for block-attach has changed. Anyone has a clue about how to=20 attach a vhd file as a block device using xl block-attach ? also with 4.2-unstable disk =3D [ '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=20 locally attach a qdisk image if the format is not raw libxl: error: libxl_create.c:437:do_domain_create: failed to run=20 bootloader: -3 Thanks, S=E9bastien On 12.07.2011 07:44, S=E9bastien 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=E9bastien >