From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?S=E9bastien_Riccio?= Subject: xm/xl block-detach issue Date: Sat, 09 Jul 2011 16:34:42 +0200 Message-ID: <4E186702.6050601@swisscenter.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: 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 dear list, I'm using xen 4.1.1 (built from tar.gz) with 2.6.39.2 kernel + blkback module and I'm getting into an issue trying to detach a block device from a domain. What I did: root@mybox:~# vhd-util create -s 50000 -n /cloud/data2/machines/vm1.vhd root@mybox:~# xl block-attach 0 tap:vhd:/cloud/local/vm1.vhd xvda rw 0 everything fine, xvda shows up in the dom0 and I can access it. Now i want to detach it to reattach it to another domain: root@mybox:~# xl block-list 0 Vdev BE handle state evt-ch ring-ref BE-path 51728 0 0 4 99 8 /local/domain/0/backend/vbd/0/5172= 8 root@mybox:~# xl block-detach 0 51728 Error: Device 51728 not connected Usage: xm block-detach [-f|--force] Destroy a domain's virtual block device. game over :( Any idea what could be wrong ? Bug ? Thanks in advance for your advices. -- S=E9bastien