From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: xm/xl block-detach issue Date: Fri, 29 Jul 2011 10:25:59 -0400 Message-ID: <20110729142559.GD5458@dumpdata.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> <4E1D5AEB.8010801@swisscenter.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <4E1D5AEB.8010801@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: =?iso-8859-1?Q?S=E9bastien?= Riccio Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Wed, Jul 13, 2011 at 10:44:27AM +0200, S=E9bastien Riccio wrote: > Hi, >=20 > Nobody getting the same issues with xen 4.1.x and xl > block-attach/detach of vhd files ? Hey Sebastien, I hadn't actually used vhd files so I can't comment on that. There was bug that was found by Joe Jin (http://lists.xensource.com/archi= ves/html/xen-devel/2011-07/msg00275.html) but that is when the disk is mounted - but you don't even get to that. Is this _only_ happening with vhds? does it appear to exist with phy's? >=20 > 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 ? >=20 > also with 4.2-unstable > disk =3D [ 'tap:vhd:/cloud/data2/machines/vm1.vhd,xvda,w' ] >=20 > does not work any more >=20 > 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 That is expected .. the upstream version of QEMU does not have all the bells and whistles the older versions had. >=20 > 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 > > >=20 >=20 >=20 >=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel