From: "Jan Beulich" Subject: xl block-attach vs block-detach Date: Thu, 01 Mar 2012 16:33:07 +0000 Message-ID: <4F4FB2D30200007800075CDA@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel List-Id: xen-devel@lists.xenproject.org So it seems that "xl block-attach" allows a variety of ways to specify the devices ID (xvdN, dNpN, decimal or hex number) - why is it that the inverse operation ("xl block-detach") can't deal with anything by a decimal number? Further, why is it that with no blktap module loaded I'm getting an incomplete attach when using the (deprecated) file:/ format for specifying the backing file? It reports that it would be using qdisk, and blkfront also sees the device appearing, but all I'm seeing in the kernel log is the single message from blkfront's probe function. (With no blktap in pv-ops, I wonder how file backed disks work there.) When trying to detach such a broken device I'm getting "unrecognized disk backend type: 0", and the remove fails. Jan